public
/
html-minifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bb55cc
)
src/htmlparser.js: fix semicolon used instead of comma.
author
XhmikosR
<xhmikosr@users.sourceforge.net>
Tue, 28 Jan 2014 07:59:06 +0000
(09:59 +0200)
committer
XhmikosR
<xhmikosr@users.sourceforge.net>
Tue, 28 Jan 2014 07:59:06 +0000
(09:59 +0200)
src/htmlparser.js
patch
|
blob
|
history
diff --git
a/src/htmlparser.js
b/src/htmlparser.js
index
64ba69a
..
d2d085c
100644
(file)
--- a/
src/htmlparser.js
+++ b/
src/htmlparser.js
@@
-31,7
+31,7
@@
endTag = /^<\/([\w:-]+)[^>]*>/,
attr = /([\w:-]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,
doctype = /^<!DOCTYPE [^>]+>/i,
- startIgnore = /<(%|\?)/
;
+ startIgnore = /<(%|\?)/
,
endIgnore = /(%|\?)>/;
// Empty Elements - HTML 4.01