mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-08-01 10:06:59 +03:00
small cleanup of the man page fixed a potential problem raised by Petr
* libxml.3: small cleanup of the man page * HTMLtree.c: fixed a potential problem raised by Petr Vandrovec when serializing HREF attributes generated by XSLT. Daniel
This commit is contained in:
@ -386,8 +386,8 @@ htmlAttrDump(xmlBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur) {
|
||||
value = xmlNodeListGetString(doc, cur->children, 0);
|
||||
if (value) {
|
||||
xmlBufferWriteChar(buf, "=");
|
||||
if ((xmlStrEqual(cur->name, BAD_CAST "href")) ||
|
||||
(xmlStrEqual(cur->name, BAD_CAST "src"))) {
|
||||
if ((!xmlStrcasecmp(cur->name, BAD_CAST "href")) ||
|
||||
(!xmlStrcasecmp(cur->name, BAD_CAST "src"))) {
|
||||
xmlChar *escaped;
|
||||
xmlChar *tmp = value;
|
||||
|
||||
@ -875,8 +875,8 @@ htmlAttrDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur,
|
||||
value = xmlNodeListGetString(doc, cur->children, 0);
|
||||
if (value) {
|
||||
xmlOutputBufferWriteString(buf, "=");
|
||||
if ((xmlStrEqual(cur->name, BAD_CAST "href")) ||
|
||||
(xmlStrEqual(cur->name, BAD_CAST "src"))) {
|
||||
if ((!xmlStrcasecmp(cur->name, BAD_CAST "href")) ||
|
||||
(!xmlStrcasecmp(cur->name, BAD_CAST "src"))) {
|
||||
xmlChar *escaped;
|
||||
xmlChar *tmp = value;
|
||||
|
||||
|
Reference in New Issue
Block a user