Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upNamed body content without ".renderBody" broken in marko >= 4.18.36 #1501
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Marko Version: 4.18.36
still broken in 4.18.46
Details
In your documentation you write:
Expected Behavior
When I do this it works fine in marko <= 4.18.35
Actual Behavior
but fails with error "Invalid dynamic tag value" in marko >= 4.18.36
Workaround
appending
.renderBodyfixes this error in marko >= 4.18.36 <= 4.18.46Additional Info
Your Environment
Steps to Reproduce
.renderBodyas mentioned in the ProTipStack Trace
Further investigation
The error is probably thrown beause this if fails: link
so maybe it helps to also check wheter the renderer has a
.renderBodyproperty if it is not a function. But I cannot make sure whether this would be the only place that would need to be modified for a proper solution.Also it seems to render fine on Server-Side, but fails client side (probably already during hydration)