oga/spec
Yorick Peterse 73fbbfbdbd Use separate Ragel machines for script/style tags
Previously a single Ragel machine was used for processing HTML
script and style tags. This had the unfortunate side-effect that the
following was not parsed correctly (while being valid HTML):

    <script>
    var foo = "</style>";
    </script>

The same applied to style tags:

    <style>
    /* </script> */
    </style>

By using separate machines we can work around the above issue. The
downside is that this can produce multiple T_TEXT nodes, which have to
be stitched back together in the parser.
2015-04-16 01:45:39 +02:00
..
oga Use separate Ragel machines for script/style tags 2015-04-16 01:45:39 +02:00
support Lexing support for unquoted HTML attribute values 2015-04-15 01:23:46 +02:00
spec_helper.rb Added thread-safe LRU class 2015-03-23 00:21:52 +01:00