13 lines
399 B
Diff
13 lines
399 B
Diff
--- src/xml_edit.c.orig 2011-06-02 08:33:48.440001384 +0200
|
|
+++ src/xml_edit.c 2011-06-02 08:35:40.246001357 +0200
|
|
@@ -431,7 +431,9 @@
|
|
{
|
|
xmlDocPtr doc;
|
|
int save_options =
|
|
+#if LIBXML_VERSION >= 20708
|
|
(g_ops.noblanks? 0 : XML_SAVE_WSNONSIG) |
|
|
+#endif
|
|
(g_ops.preserveFormat? 0 : XML_SAVE_FORMAT) |
|
|
(g_ops.omit_decl? XML_SAVE_NO_DECL : 0);
|
|
int read_options =
|