summaryrefslogtreecommitdiff
path: root/src/xmlcomposer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlcomposer.cpp')
-rw-r--r--src/xmlcomposer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xmlcomposer.cpp b/src/xmlcomposer.cpp
index f10ce0c..6b1b725 100644
--- a/src/xmlcomposer.cpp
+++ b/src/xmlcomposer.cpp
@@ -131,6 +131,10 @@ void XmlComposer::endDocument()
ASSERT(top != NULL);
top.setAttribute(kNSPrefix, kNSRtfx);
+ // Pass 3: Pretty printing
+ if(m_options.pretty)
+ fix.prettyXml(m_document);
+
return;
}