forked from openlp/openlp
fixes #1213254 by filtering out invalid xml chars
This commit is contained in:
parent
d492c2fecd
commit
9f7e32cd31
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user