diff --git a/ext/ragel/base_lexer.rl b/ext/ragel/base_lexer.rl index 2a6143a..fe12a53 100644 --- a/ext/ragel/base_lexer.rl +++ b/ext/ragel/base_lexer.rl @@ -386,7 +386,7 @@ html_attribute_value := |* squote | dquote => { fhold; - fnext html_attribute_value_quoted; + fnext xml_attribute_value; }; # Unquoted attribute values are lexed as if they were single quoted @@ -402,15 +402,6 @@ any => hold_start_element_head; *|; - # Machine specifically used when dealing with quoted HTML attributes. This - # ensures that input such as doesn't result in "/" being - # considered part of the attribute value. - html_attribute_value_quoted := |* - squote => start_string_squote; - dquote => start_string_dquote; - any => hold_start_element_head; - *|; - # Machine used for processing XML attribute values. xml_attribute_value := |* squote => start_string_squote;