From b3f733233ab5a444a1fd34114363dd1694a32c30 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Sat, 5 May 2012 16:25:55 +0200 Subject: [PATCH] fixed two extra new lines being added --- openlp/plugins/songs/lib/xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/plugins/songs/lib/xml.py b/openlp/plugins/songs/lib/xml.py index abc5a6dbe..1e35d07ad 100644 --- a/openlp/plugins/songs/lib/xml.py +++ b/openlp/plugins/songs/lib/xml.py @@ -336,7 +336,7 @@ class OpenLyrics(object): verse_element.set(u'lang', verse[0][u'lang']) # Create a list with all "optional" verses. optional_verses = cgi.escape(verse[1]) - optional_verses = optional_verses.split(u'[---]') + optional_verses = optional_verses.split(u'\n[---]\n') start_tags = u'' end_tags = u'' for index, optional_verse in enumerate(optional_verses):