mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-08-07 06:43:02 +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:
@@ -1,3 +1,9 @@
|
|||||||
|
Mon Aug 12 16:52:08 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
Mon Aug 12 15:24:05 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
Mon Aug 12 15:24:05 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* HTMLtree.c include/libxml/HTMLtree.h: integrated a cleaned up
|
* HTMLtree.c include/libxml/HTMLtree.h: integrated a cleaned up
|
||||||
|
@@ -386,8 +386,8 @@ htmlAttrDump(xmlBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur) {
|
|||||||
value = xmlNodeListGetString(doc, cur->children, 0);
|
value = xmlNodeListGetString(doc, cur->children, 0);
|
||||||
if (value) {
|
if (value) {
|
||||||
xmlBufferWriteChar(buf, "=");
|
xmlBufferWriteChar(buf, "=");
|
||||||
if ((xmlStrEqual(cur->name, BAD_CAST "href")) ||
|
if ((!xmlStrcasecmp(cur->name, BAD_CAST "href")) ||
|
||||||
(xmlStrEqual(cur->name, BAD_CAST "src"))) {
|
(!xmlStrcasecmp(cur->name, BAD_CAST "src"))) {
|
||||||
xmlChar *escaped;
|
xmlChar *escaped;
|
||||||
xmlChar *tmp = value;
|
xmlChar *tmp = value;
|
||||||
|
|
||||||
@@ -875,8 +875,8 @@ htmlAttrDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur,
|
|||||||
value = xmlNodeListGetString(doc, cur->children, 0);
|
value = xmlNodeListGetString(doc, cur->children, 0);
|
||||||
if (value) {
|
if (value) {
|
||||||
xmlOutputBufferWriteString(buf, "=");
|
xmlOutputBufferWriteString(buf, "=");
|
||||||
if ((xmlStrEqual(cur->name, BAD_CAST "href")) ||
|
if ((!xmlStrcasecmp(cur->name, BAD_CAST "href")) ||
|
||||||
(xmlStrEqual(cur->name, BAD_CAST "src"))) {
|
(!xmlStrcasecmp(cur->name, BAD_CAST "src"))) {
|
||||||
xmlChar *escaped;
|
xmlChar *escaped;
|
||||||
xmlChar *tmp = value;
|
xmlChar *tmp = value;
|
||||||
|
|
||||||
|
2
libxml.3
2
libxml.3
@@ -59,7 +59,7 @@ shareable library
|
|||||||
binary application for parsing XML files
|
binary application for parsing XML files
|
||||||
.SH AUTHORS
|
.SH AUTHORS
|
||||||
Daniel Veillard (daniel@veillard.com).
|
Daniel Veillard (daniel@veillard.com).
|
||||||
If you download and install this package please send the author email.
|
Red Hat Inc.
|
||||||
Manual page by Ziying Sherwin (sherwin@nlm.nih.gov),
|
Manual page by Ziying Sherwin (sherwin@nlm.nih.gov),
|
||||||
Lister Hill National Center for Biomedical Communications,
|
Lister Hill National Center for Biomedical Communications,
|
||||||
U.S. National Library of Medicine.
|
U.S. National Library of Medicine.
|
||||||
|
Reference in New Issue
Block a user