diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-03-15 15:32:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-03-20 21:20:58 +0100 |
| commit | 066e30f30f851396bd6f10d50a448507e1c0b392 (patch) | |
| tree | b8de41fec71f78debe97ee9fcdd8dc3be65f9b45 /src/interop_subtitle_asset.cc | |
| parent | 2516e657c80da672d1ea1ef5b5a189ef8799c070 (diff) | |
Nearly pretty-print subtitle XML (though not in <Text> nodes).v1.8.12
This is an attempt to fix DoM bug #2205.
Diffstat (limited to 'src/interop_subtitle_asset.cc')
| -rw-r--r-- | src/interop_subtitle_asset.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interop_subtitle_asset.cc b/src/interop_subtitle_asset.cc index d5147284..bb0cad70 100644 --- a/src/interop_subtitle_asset.cc +++ b/src/interop_subtitle_asset.cc @@ -125,7 +125,7 @@ InteropSubtitleAsset::xml_as_string () const subtitles_as_xml (root, 250, Standard::INTEROP); - return doc.write_to_string ("UTF-8"); + return format_xml(doc, {}); } |
