Strip trailing whitespaces from verse-string.

This commit is contained in:
Tomas Groth 2015-10-28 16:43:17 +00:00
parent f712b35b08
commit 05043edb6d

View File

@ -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()