Hi
I just ran into a strange behaviour when using conditionals in my html head in a [removed] tag. The following example demonstrates the situation:
[removed]
{if embed:gallery == "yes"}
some thing here.
{if:else}
something else here.
{/if}
[removed]
I’d expect this piece of code to result in
[removed]
some thing here.
[removed]
if the gallery embedded variable is set to “yes” or
[removed]
something else here.
[removed]
otherwise. Strangely using this piece of code, this is what I get in the resulting html:
[removed]
{if "yes" == "yes"}
some thing here.
{if:else}
something else here.
{/if}
[removed]
The embedded variable is parsed correctly, however the conditionals seem to be forgotten. Putting the if - else part outside of the [removed] tag, e.g.
[removed]
some script
[removed]
{if embed:gallery == "yes"}
some thing here.
{if:else}
something else here.
{/if}
works as expected.
