• David Sveningsson's avatar
    fix: parse `<style>` content as text instead of markup · 0ab61e6f
    David Sveningsson authored
    fixes #137
    
    The content of the `<style>` tag is CSS and can contain `<` forming tokens
    appearing to be HTML tags and under certain conditions could break the state
    machine and causing a parser error.
    
    This fix is similar to the `<script>` tag where the content is parsed as raw
    text.
    0ab61e6f
html5.json 33.9 KB