4 ms·
Worse, actually: <script> content is only terminated by </script> and not other end-element tags, but <!-- --> comments within script content are treated as Jav
by tannhaeuser 10y ago
Worse, actually: <script> content is only terminated by </script> and not other end-element tags, but <!-- --> comments within script content are treated as JavaScript comments [1] (though I'm not aware of template approaches that need to compose the content of script elements).
[1] http://sgmljs.net/docs/html5.html#script-data http://sgmljs.net/docs/html5.html#script-data