summaryrefslogtreecommitdiff
path: root/src/interop_subtitle_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-02-24 14:57:28 +0000
committerCarl Hetherington <cth@carlh.net>2017-02-24 14:57:28 +0000
commit495555716e98a02b571a5dbc3200ef4ce928272c (patch)
treeb7dd6fadf86f9c86c01e1a715c6e48897760bdb7 /src/interop_subtitle_asset.cc
parentcab0005c7370a1101df604838ea214eb741098d7 (diff)
Format XML sub output nicely with indents and such.
Diffstat (limited to 'src/interop_subtitle_asset.cc')
-rw-r--r--src/interop_subtitle_asset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interop_subtitle_asset.cc b/src/interop_subtitle_asset.cc
index cfd37cb8..99511222 100644
--- a/src/interop_subtitle_asset.cc
+++ b/src/interop_subtitle_asset.cc
@@ -102,7 +102,7 @@ InteropSubtitleAsset::xml_as_string () const
subtitles_as_xml (root, 250, INTEROP);
- return doc.write_to_string ("UTF-8");
+ return doc.write_to_string_formatted ("UTF-8");
}
void