oga/ext/c
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
..
extconf.rb Use RbConfig::CONFIG['CC'] vs 'cc' 2015-03-23 19:46:44 +01:00
lexer.h Track XML C lexer state in C only. 2014-10-26 11:38:06 +01:00
lexer.rl Use separate Ragel machines for script/style tags 2015-04-16 01:45:39 +02:00
liboga.c Don't redefine namespaces in C. 2014-05-07 10:52:06 +02:00
liboga.h Removed stdioh. #include. 2014-05-11 21:06:55 +02:00