Forcing TAL to render mismatched tags
</noscript> tag in order to designate the end of a block that may be used in experiments. Unfortunately, if you try to insert this in a Zope page template you'll see something like this:Compilation failed zope.tal.htmltalparser.NestingError: No tags are open to match </noscript>, at line 2, column 1
You can work around this using the following idiom:
<tal:block tal:content="structure string:</noscript>"/>
This bypasses TAL compilation by parsing the </noscript> as a string, then inserts it into the template as HTML structure. The angle brackets are written as HTML entities so that the template has a chance of passing XML validation.
Credit to Darryl Dixon via #plone on IRC, and my colleague Jon Baldivieso for the HTML entities suggestion. Thanks!
Anonymous on Forcing TAL to render mismatched tags