forked from openlp/openlp
fixed two extra new lines being added
This commit is contained in:
parent
f658c741eb
commit
b3f733233a
@ -336,7 +336,7 @@ class OpenLyrics(object):
|
|||||||
verse_element.set(u'lang', verse[0][u'lang'])
|
verse_element.set(u'lang', verse[0][u'lang'])
|
||||||
# Create a list with all "optional" verses.
|
# Create a list with all "optional" verses.
|
||||||
optional_verses = cgi.escape(verse[1])
|
optional_verses = cgi.escape(verse[1])
|
||||||
optional_verses = optional_verses.split(u'[---]')
|
optional_verses = optional_verses.split(u'\n[---]\n')
|
||||||
start_tags = u''
|
start_tags = u''
|
||||||
end_tags = u''
|
end_tags = u''
|
||||||
for index, optional_verse in enumerate(optional_verses):
|
for index, optional_verse in enumerate(optional_verses):
|
||||||
|
Loading…
Reference in New Issue
Block a user