mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-13 13:17:36 +03:00
Fixed reopening of #78662 <form action="..."> is an URI reference Daniel
* HTMLtree.c: Fixed reopening of #78662 <form action="..."> is an URI reference Daniel
This commit is contained in:
parent
e209b33055
commit
c7e9b194e7
@ -1,3 +1,8 @@
|
||||
Thu Mar 27 15:06:13 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* HTMLtree.c: Fixed reopening of #78662 <form action="...">
|
||||
is an URI reference
|
||||
|
||||
Wed Mar 26 22:38:39 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xpath.c: fixed bug #109160 on non-ASCII IDs
|
||||
|
@ -605,8 +605,11 @@ htmlAttrDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur,
|
||||
value = xmlNodeListGetString(doc, cur->children, 0);
|
||||
if (value) {
|
||||
xmlOutputBufferWriteString(buf, "=");
|
||||
if ((!xmlStrcasecmp(cur->name, BAD_CAST "href")) ||
|
||||
(!xmlStrcasecmp(cur->name, BAD_CAST "src"))) {
|
||||
if ((cur->ns == NULL) && (cur->parent != NULL) &&
|
||||
(cur->parent->ns == NULL) &&
|
||||
((!xmlStrcasecmp(cur->name, BAD_CAST "href")) ||
|
||||
(!xmlStrcasecmp(cur->name, BAD_CAST "action")) ||
|
||||
(!xmlStrcasecmp(cur->name, BAD_CAST "src")))) {
|
||||
xmlChar *escaped;
|
||||
xmlChar *tmp = value;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user