From 05043edb6d002972695713cfc961e6897346a671 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Wed, 28 Oct 2015 16:43:17 +0000 Subject: [PATCH] Strip trailing whitespaces from verse-string. --- openlp/plugins/songs/lib/importers/worshipcenterpro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/plugins/songs/lib/importers/worshipcenterpro.py b/openlp/plugins/songs/lib/importers/worshipcenterpro.py index cc1a96f8e..4bf2c0f02 100644 --- a/openlp/plugins/songs/lib/importers/worshipcenterpro.py +++ b/openlp/plugins/songs/lib/importers/worshipcenterpro.py @@ -107,5 +107,5 @@ class WorshipCenterProImport(SongImport): marker_type = 'v' # Strip tags from text verse = re.sub('<[^<]+?>', '', verse) - self.add_verse(verse, marker_type) + self.add_verse(verse.strip(), marker_type) self.finish()