I did, and the handlebars template returns the tags as text, so a < ends up
being &lt; entity.

One solution that seems to be working for me is this:

{{#if uploadOption}}
            <td>
                Click to add description
            </td>
            {{else}}
            <td colspan="2">
                Click to add description
            </td>
            {{/if}}

Essentially repeating the tag twice for the sake of having a closing tag.
Seems redundant an un-necessary, but this is the convention being forced.
It's also interesting to note that Tapestry's TML enforces the XHTML tag
closing when HTML 5 doesn't require it. Front end developers need more
options than this rigid enforcement out of the box, don't you think? I mean,
if you're going to support HTML5, then support it.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-and-inline-Handlebars-js-tp5660756p5660830.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to