fusion-afx icon indicating copy to clipboard operation
fusion-afx copied to clipboard

Supported HTML comments, IE conditional comments and CDATA

Open gerdemann opened this issue 6 years ago • 1 comments

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>
`

gerdemann avatar Oct 11 '18 10:10 gerdemann

See https://github.com/neos/fusion-afx/pull/27 - at least HTML comments should be fixed by now…

kdambekalns avatar Jun 18 '20 07:06 kdambekalns