forked from openlp/openlp
fixed string
This commit is contained in:
parent
3c8cc5c532
commit
e6751bd043
@ -448,7 +448,7 @@ class OpenLyrics(object):
|
||||
text = text.replace(u'{/%s}' % tag, u'</tag>')
|
||||
# Replace \n with <br/>.
|
||||
text = text.replace(u'\n', u'<br/>')
|
||||
element = etree.XML(u'<lines>' + text + u'</lines>')
|
||||
element = etree.XML(u'<lines>%s</lines>' % text)
|
||||
verse_element.append(element)
|
||||
return element
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user