mirror of
https://github.com/GNOME/libxml2.git
synced 2025-02-17 18:19:32 +08:00
- HTMLtree.c: when in a pre element no formatting space should
be added. Daniel
This commit is contained in:
parent
14839d56dd
commit
8a92629d33
@ -1,3 +1,8 @@
|
|||||||
|
Fri Jun 8 07:20:46 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||||
|
|
||||||
|
* HTMLtree.c: when in a pre element no formatting space should
|
||||||
|
be added.
|
||||||
|
|
||||||
Wed Jun 6 18:07:36 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
Wed Jun 6 18:07:36 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||||
|
|
||||||
* configure.in: add -mieee to CFLAGS when compiling on Linux/alpha
|
* configure.in: add -mieee to CFLAGS when compiling on Linux/alpha
|
||||||
|
@ -975,7 +975,9 @@ htmlNodeDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc,
|
|||||||
xmlOutputBufferWriteString(buf, ">");
|
xmlOutputBufferWriteString(buf, ">");
|
||||||
if (cur->next != NULL) {
|
if (cur->next != NULL) {
|
||||||
if ((cur->next->type != HTML_TEXT_NODE) &&
|
if ((cur->next->type != HTML_TEXT_NODE) &&
|
||||||
(cur->next->type != HTML_ENTITY_REF_NODE))
|
(cur->next->type != HTML_ENTITY_REF_NODE) &&
|
||||||
|
(cur->parent != NULL) &&
|
||||||
|
(!xmlStrEqual(cur->parent->name, BAD_CAST "pre")))
|
||||||
xmlOutputBufferWriteString(buf, "\n");
|
xmlOutputBufferWriteString(buf, "\n");
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
@ -991,7 +993,9 @@ htmlNodeDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc,
|
|||||||
}
|
}
|
||||||
if (cur->next != NULL) {
|
if (cur->next != NULL) {
|
||||||
if ((cur->next->type != HTML_TEXT_NODE) &&
|
if ((cur->next->type != HTML_TEXT_NODE) &&
|
||||||
(cur->next->type != HTML_ENTITY_REF_NODE))
|
(cur->next->type != HTML_ENTITY_REF_NODE) &&
|
||||||
|
(cur->parent != NULL) &&
|
||||||
|
(!xmlStrEqual(cur->parent->name, BAD_CAST "pre")))
|
||||||
xmlOutputBufferWriteString(buf, "\n");
|
xmlOutputBufferWriteString(buf, "\n");
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user