1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

fixing HTML entities in attributes parsing bug #362552 added to the

* HTMLparser.c: fixing HTML entities in attributes parsing bug #362552
* result/HTML/entities2.html* test/HTML/entities2.html: added to
  the regression suite
Daniel
This commit is contained in:
Daniel Veillard
2006-10-17 15:56:35 +00:00
parent dab39b568a
commit 48519092e5
6 changed files with 43 additions and 1 deletions

View File

@ -2377,7 +2377,7 @@ htmlParseHTMLAttribute(htmlParserCtxtPtr ctxt, const xmlChar stop) {
growBuffer(buffer);
out = &buffer[indx];
}
c = (xmlChar)ent->value;
c = ent->value;
if (c < 0x80)
{ *out++ = c; bits= -6; }
else if (c < 0x800)