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
diff --git a/HTMLparser.c b/HTMLparser.c
index 1719c4c..590083c 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -2377,7 +2377,7 @@
growBuffer(buffer);
out = &buffer[indx];
}
- c = (xmlChar)ent->value;
+ c = ent->value;
if (c < 0x80)
{ *out++ = c; bits= -6; }
else if (c < 0x800)