diff --git a/ext/ragel/base_lexer.rl b/ext/ragel/base_lexer.rl index ab043d4..850e11f 100644 --- a/ext/ragel/base_lexer.rl +++ b/ext/ragel/base_lexer.rl @@ -52,7 +52,7 @@ comment_end = '-->'; action start_comment { - mark = ts + 4; + mark = te; fnext comment_body; } @@ -81,7 +81,7 @@ cdata_end = ']]>'; action start_cdata { - mark = ts + 9; + mark = te; fnext cdata_body; }