Permalink
Browse files

617468 fix progressive HTML parsing with style using "'"

Style and script can contain ',"". This patch fixes call
htmlParseLookupSequence with set flag 'ignoreattrval' to
ignore this char
  • Loading branch information...
0lvin authored and veillard committed Nov 4, 2010
1 parent f99d222 commit 91d239c5cf5acdc078e037689b4574688381f8b1
Showing with 1 addition and 1 deletion.
  1. +1 −1 HTMLparser.c
View
@@ -5611,7 +5611,7 @@ htmlParseTryOrFinish(htmlParserCtxtPtr ctxt, int terminate) {
int idx;
xmlChar val;
- idx = htmlParseLookupSequence(ctxt, '<', '/', 0, 0, 1);
+ idx = htmlParseLookupSequence(ctxt, '<', '/', 0, 0, 0);
if (idx < 0)
goto done;
val = in->cur[idx + 2];

0 comments on commit 91d239c

Please sign in to comment.