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

Supported HTML comments, IE conditional comments and CDATA #15

Open
gerdemann opened this issue Oct 11, 2018 · 1 comment
Open

Supported HTML comments, IE conditional comments and CDATA #15

gerdemann opened this issue Oct 11, 2018 · 1 comment

Comments

@gerdemann
Copy link

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 gerdemann changed the title Supported HTML comments and CDATA Supported HTML comments, IE conditional comments and CDATA Oct 11, 2018
@kdambekalns
Copy link
Member

kdambekalns commented Jun 18, 2020

See #27 - at least HTML comments should be fixed by now…

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