[libxml2] 617468 fix progressive HTML parsing with style using "'"
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] 617468 fix progressive HTML parsing with style using "'"
- Date: Thu, 4 Nov 2010 11:40:29 +0000 (UTC)
commit 91d239c5cf5acdc078e037689b4574688381f8b1
Author: Denis Pauk <pauk denis gmail com>
Date: Thu Nov 4 12:39:18 2010 +0100
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
HTMLparser.c | 2 +-
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];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]