fixes #1213254 by filtering out invalid xml chars

This commit is contained in:
Philip Ridout 2013-08-17 09:10:25 +01:00
parent d492c2fecd
commit 9f7e32cd31

View File

@ -133,6 +133,7 @@ class SongXML(object):
The verse's language code (ISO-639). This is not required, but The verse's language code (ISO-639). This is not required, but
should be added if available. should be added if available.
""" """
content = self.clean_xml_string(content)
verse = etree.Element(u'verse', type=unicode(type), verse = etree.Element(u'verse', type=unicode(type),
label=unicode(number)) label=unicode(number))
if lang: if lang: