Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined result if then or else tags contain HTML #5

Open
stat1x opened this issue Nov 7, 2016 · 1 comment
Open

Undefined result if then or else tags contain HTML #5

stat1x opened this issue Nov 7, 2016 · 1 comment

Comments

@stat1x
Copy link
Owner

stat1x commented Nov 7, 2016

I don't know if it's really need but if we put <f:if condition="{obj.prop}"><f:then><p>condition is met</p></f:then><f:else><p>condition is met</p></f:else></f:if> in the converter, it gives {f:if (condition: obj.prop, then: 'undefined', else: 'undefined'}

@wazum
Copy link

wazum commented Sep 20, 2023

The same with more complex stuff, so this is useless then (unfortunately)

<f:if condition="{flag} == 'List'"><f:then><f:if condition="{item.something}"><f:then>{item.something}</f:then><f:else>{item.teaser}</f:else></f:if></f:then><f:else>fallback<f:else></f:if>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants