Commit aa9a983d authored by Daniel Veillard's avatar Daniel Veillard
Browse files

fixing bug 168196, <a name=""> must be URI escaped too Daniel

* HTMLtree.c: fixing bug 168196, <a name=""> must be URI escaped too
Daniel
parent 5cd3e8c4
Tue Mar 29 22:29:28 CEST 2005 Daniel Veillard <daniel@veillard.com>
* HTMLtree.c: fixing bug 168196, <a name=""> must be URI escaped too
Sun Mar 27 13:24:24 CEST 2005 Daniel Veillard <daniel@veillard.com>
 
* tree.c: cleanup of the Prop related functions and xmlNewNodeEatName
......
......@@ -663,7 +663,9 @@ htmlAttrDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur,
(cur->parent->ns == NULL) &&
((!xmlStrcasecmp(cur->name, BAD_CAST "href")) ||
(!xmlStrcasecmp(cur->name, BAD_CAST "action")) ||
(!xmlStrcasecmp(cur->name, BAD_CAST "src")))) {
(!xmlStrcasecmp(cur->name, BAD_CAST "src")) ||
((!xmlStrcasecmp(cur->name, BAD_CAST "name")) &&
(!xmlStrcasecmp(cur->parent->name, BAD_CAST "a"))))) {
xmlChar *escaped;
xmlChar *tmp = value;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment