forked from openlp/openlp
Fix song bug with formatting
This commit is contained in:
parent
e6571644dd
commit
885d70307e
@ -458,7 +458,7 @@ class OpenLyrics(object):
|
||||
self._add_tag_to_formatting(tag, tags_element)
|
||||
# Replace end tags.
|
||||
for tag in end_tags:
|
||||
text = text.replace('{{{tag}}}'.format(tag=tag), '</tag>')
|
||||
text = text.replace('{{/{tag}}}'.format(tag=tag), '</tag>')
|
||||
# Replace \n with <br/>.
|
||||
text = text.replace('\n', '<br/>')
|
||||
element = etree.XML('<lines>{text}</lines>'.format(text=text))
|
||||
|
Loading…
Reference in New Issue
Block a user