From 9f7e32cd31d68485db021f711005245c43f0dd8c Mon Sep 17 00:00:00 2001 From: Philip Ridout Date: Sat, 17 Aug 2013 09:10:25 +0100 Subject: [PATCH] fixes #1213254 by filtering out invalid xml chars --- openlp/plugins/songs/lib/xml.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openlp/plugins/songs/lib/xml.py b/openlp/plugins/songs/lib/xml.py index 22539b495..f4702f207 100644 --- a/openlp/plugins/songs/lib/xml.py +++ b/openlp/plugins/songs/lib/xml.py @@ -133,6 +133,7 @@ class SongXML(object): The verse's language code (ISO-639). This is not required, but should be added if available. """ + content = self.clean_xml_string(content) verse = etree.Element(u'verse', type=unicode(type), label=unicode(number)) if lang: