forked from openlp/openlp
we can replace before splitting
This commit is contained in:
parent
7d5e349602
commit
bd6733eef1
@ -503,5 +503,5 @@ class Renderer(object):
|
|||||||
"""
|
"""
|
||||||
# this parse we do not want to use this so remove it
|
# this parse we do not want to use this so remove it
|
||||||
text = text.replace(u'\n[---]', u'')
|
text = text.replace(u'\n[---]', u'')
|
||||||
lines = text.split(u'\n')
|
text = text.replace(u'[---]', u'')
|
||||||
return [line.replace(u'[---]', u'') for line in lines]
|
return text.split(u'\n')
|
||||||
|
Loading…
Reference in New Issue
Block a user