src/htmlparser.js: fix semicolon used instead of comma.
authorXhmikosR <xhmikosr@users.sourceforge.net>
Tue, 28 Jan 2014 07:59:06 +0000 (09:59 +0200)
committerXhmikosR <xhmikosr@users.sourceforge.net>
Tue, 28 Jan 2014 07:59:06 +0000 (09:59 +0200)
src/htmlparser.js

index 64ba69a..d2d085c 100644 (file)
@@ -31,7 +31,7 @@
       endTag = /^<\/([\w:-]+)[^>]*>/,
       attr = /([\w:-]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,
       doctype = /^<!DOCTYPE [^>]+>/i,
-      startIgnore = /<(%|\?)/;
+      startIgnore = /<(%|\?)/,
       endIgnore = /(%|\?)>/;
 
   // Empty Elements - HTML 4.01