From 0e03f6d33202635574776405e778bc7293f03408 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 28 Jan 2014 09:59:06 +0200 Subject: [PATCH] src/htmlparser.js: fix semicolon used instead of comma. --- src/htmlparser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1