From: XhmikosR Date: Tue, 28 Jan 2014 07:59:06 +0000 (+0200) Subject: src/htmlparser.js: fix semicolon used instead of comma. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=0e03f6d33202635574776405e778bc7293f03408;p=html-minifier.git src/htmlparser.js: fix semicolon used instead of comma. --- diff --git a/src/htmlparser.js b/src/htmlparser.js index 64ba69a..d2d085c 100644 --- a/src/htmlparser.js +++ b/src/htmlparser.js @@ -31,7 +31,7 @@ endTag = /^<\/([\w:-]+)[^>]*>/, attr = /([\w:-]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g, doctype = /^]+>/i, - startIgnore = /<(%|\?)/; + startIgnore = /<(%|\?)/, endIgnore = /(%|\?)>/; // Empty Elements - HTML 4.01