diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-02-27 23:20:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-02-27 23:20:14 +0100 |
| commit | 15fe326c723b88f779d69fe0ae737d27d69e6e6f (patch) | |
| tree | 3c96a84f975b009d6835ec324518d95049bbb7b8 /src/lib/text_decoder.h | |
| parent | ae859e7d02fb889ab966e0d69e2d0c42937620fe (diff) | |
Strip disallowed characters from subtitles before they get into the XML.
Diffstat (limited to 'src/lib/text_decoder.h')
| -rw-r--r-- | src/lib/text_decoder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/text_decoder.h b/src/lib/text_decoder.h index 3b25e54cb..1a7632fd8 100644 --- a/src/lib/text_decoder.h +++ b/src/lib/text_decoder.h @@ -66,6 +66,8 @@ public: return _content; } + static std::string remove_invalid_characters_for_xml(std::string text); + boost::signals2::signal<void (ContentBitmapText)> BitmapStart; boost::signals2::signal<void (ContentStringText)> PlainStart; boost::signals2::signal<void (dcpomatic::ContentTime)> Stop; |
