Explorar o código

Fix eattribute ereg (empty attribute)

Pascal Peridont %!s(int64=19) %!d(string=hai) anos
pai
achega
d5f9f53339
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/js/JsXml__.hx

+ 1 - 1
std/js/JsXml__.hx

@@ -35,7 +35,7 @@ class JsXml__ {
 	static var ecomment = ~/^<!--/;
 	static var eprolog = ~/^<\?[^\?]+\?>/;
 
-	static var eattribute = ~/^[ \r\n\t]*([a-zA-Z0-9:-]+)[ \r\n\t]*=[ \r\n\t]*"([^"\n\r]+)"/;
+	static var eattribute = ~/^[ \r\n\t]*([a-zA-Z0-9:-]+)[ \r\n\t]*=[ \r\n\t]*"([^"\n\r]*)"/;
 	static var eclose = ~/^[ \r\n\t]*(>|(\/>))/;
 	static var ecdata_end = ~/\]\]>/;
 	static var edoctype_elt = ~/[\[|\]>]/;