prevent output of fragment tags when serializing XHTML.
* xmlsave.c: prevent output of fragment tags when serializing XHTML.
diff --git a/ChangeLog b/ChangeLog
index a33b3be..5b3fbe1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/xmlsave.c b/xmlsave.c
index ca1d876..98d5dbe 100644
--- a/xmlsave.c
+++ b/xmlsave.c
@@ -1111,6 +1111,10 @@
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);