From e6751bd043268db1357404de2ce091926e53a158 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Sun, 9 Oct 2011 21:51:44 +0200 Subject: [PATCH] fixed string --- 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 3b1cefaa7..aaf82b395 100644 --- a/openlp/plugins/songs/lib/xml.py +++ b/openlp/plugins/songs/lib/xml.py @@ -448,7 +448,7 @@ class OpenLyrics(object): text = text.replace(u'{/%s}' % tag, u'') # Replace \n with
. text = text.replace(u'\n', u'
') - element = etree.XML(u'' + text + u'') + element = etree.XML(u'%s' % text) verse_element.append(element) return element