forked from openlp/openlp
Fix song saving
This commit is contained in:
parent
4439625013
commit
c8faf0cc08
@ -77,8 +77,9 @@ class SongXMLBuilder(object):
|
|||||||
The actual text of the verse to be stored.
|
The actual text of the verse to be stored.
|
||||||
"""
|
"""
|
||||||
#log.debug(u'add_verse_to_lyrics %s, %s\n%s' % (type, number, content))
|
#log.debug(u'add_verse_to_lyrics %s, %s\n%s' % (type, number, content))
|
||||||
verse = etree.SubElement(self.lyrics, u'verse', type=type, label=number)
|
verse = etree.Element(u'verse', type=type, label=number)
|
||||||
verse.text = etree.CDATA(content)
|
verse.text = etree.CDATA(content)
|
||||||
|
self.lyrics.append(verse)
|
||||||
|
|
||||||
def dump_xml(self):
|
def dump_xml(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user