Permalink
Browse files

[fix] Xml_parser: fix bad parsing on tag name starting with a void el…

…ement name
  • Loading branch information...
1 parent 13f7127 commit 658088ff36279ded2021f8527453d31fb7b6906f @cedricss cedricss committed May 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 opalang/classic_syntax/xml.trx
@@ -85,7 +85,7 @@ htmltext <- htmlchars+:s {{ concat_xml_text s }}
deco_sname = deco sname;
deco_ename = deco ename;
deco_tname = deco tname;
-deco_html5voidtname = deco Html5.void_element;
+deco_html5voidtname = deco (Html5.void_element !([a-zA-Z_\-.0-9]+));
deco_htmltext = deco htmltext;
deco_svalue = deco svalue;
deco_spaces = deco spaces;

0 comments on commit 658088f

Please sign in to comment.