Closed ma7moudat closed 4 years ago
It's a posthtml-expressions issue that we've yet to fix.
For now, a workaround is to use the <raw>
tag:
<if condition="0 === 1">
This won't render.
</if>
<raw>
This should render.
</raw>
@cossssmin thanks, raw
is a sufficient workaround for me
If the condition in an
<if>
tag isn't met and the content after it isn't wrapped in an HTML tag, it doesn't render.Reproduction:
Expected Output
Actual Output