fusion-afx
fusion-afx copied to clipboard
Supported HTML comments, IE conditional comments and CDATA
It should be possible to use HTML comments, IE conditional comments and CDATA blocks in AFX.
Example:
renderer = afx`
<!-- My comment -->
<div>Test</div>
<!--[if lt IE 7 ]>
Please update your browser.
<![endif]-->
<script>
<![CDATA[
var foo = 'bar';
]]>
</script>
`
See https://github.com/neos/fusion-afx/pull/27 - at least HTML comments should be fixed by now…