mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-04-24 18:50:07 +03:00
prevent output of fragment tags when serializing XHTML.
* xmlsave.c: prevent output of fragment tags when serializing XHTML.
This commit is contained in:
parent
aa62201290
commit
2e2691b51c
@ -1,3 +1,7 @@
|
||||
Fri Oct 21 10:50:14 EDT 2005 Rob Richards <rrichards@ctindustries.net>
|
||||
|
||||
* xmlsave.c: prevent output of fragment tags when serializing XHTML.
|
||||
|
||||
Wed Oct 19 16:53:47 BST 2005 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xmlregexp.c: commiting a some fixes and debug done yesterday in
|
||||
|
@ -1111,6 +1111,10 @@ xhtmlNodeDumpOutput(xmlSaveCtxtPtr ctxt, xmlNodePtr cur) {
|
||||
xmlDtdDumpOutput(ctxt, (xmlDtdPtr) cur);
|
||||
return;
|
||||
}
|
||||
if (cur->type == XML_DOCUMENT_FRAG_NODE) {
|
||||
xhtmlNodeListDumpOutput(ctxt, cur->children);
|
||||
return;
|
||||
}
|
||||
buf = ctxt->buf;
|
||||
if (cur->type == XML_ELEMENT_DECL) {
|
||||
xmlDumpElementDecl(buf->buffer, (xmlElementPtr) cur);
|
||||
|
Loading…
x
Reference in New Issue
Block a user