summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Pauk <pauk.denis@gmail.com>2010-11-04 11:39:18 (GMT)
committerDaniel Veillard <veillard@redhat.com>2010-11-04 11:39:18 (GMT)
commit91d239c5cf5acdc078e037689b4574688381f8b1 (patch)
tree90665b94ff22068d86b8823d1ba3b2494edc64be
parentf99d222316e1219aa8b95220f6918e6c7018e174 (diff)
downloadlibxml2-91d239c5cf5acdc078e037689b4574688381f8b1.tar.gz
libxml2-91d239c5cf5acdc078e037689b4574688381f8b1.tar.xz
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
-rw-r--r--HTMLparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/HTMLparser.c b/HTMLparser.c
index 7db6f0c..4d43b93 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -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];