aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-node-db.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-node-db.c')
-rw-r--r--lib/ephy-node-db.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ephy-node-db.c b/lib/ephy-node-db.c
index d7e0d34bc..874b2a30a 100644
--- a/lib/ephy-node-db.c
+++ b/lib/ephy-node-db.c
@@ -413,6 +413,12 @@ ephy_node_db_write_to_xml_valist (EphyNodeDb *db,
return -1;
}
+ ret = xmlTextWriterSetIndent (writer, 1);
+ if (ret < 0) goto out;
+
+ ret = xmlTextWriterSetIndentString (writer, " ");
+ if (ret < 0) goto out;
+
ret = xmlTextWriterStartDocument (writer, "1.0", NULL, NULL);
if (ret < 0) goto out;