Fix a formatting error

This commit is contained in:
Tomas Groth 2016-06-17 12:05:25 +02:00
parent 0c2b68ac54
commit d92d46e06c
1 changed files with 1 additions and 1 deletions

View File

@ -643,7 +643,7 @@ class OpenLyrics(object):
# Append text from tail and add formatting end tag.
# TODO: Verify format() with template variables
if element.tag == NSMAP % 'tag' and use_endtag:
text += '{/{name}}}'.format(name=element.get('name'))
text += '{{{name}}}'.format(name=element.get('name'))
# Append text from tail.
if element.tail:
text += element.tail