forked from openlp/openlp
Bug 625997
This commit is contained in:
parent
b24467d32c
commit
da88990549
@ -136,6 +136,7 @@ class Renderer(object):
|
|||||||
line_end = u''
|
line_end = u''
|
||||||
if line_break:
|
if line_break:
|
||||||
line_end = u'<br>'
|
line_end = u'<br>'
|
||||||
|
print words
|
||||||
words = words.replace(u'\r\n', u'\n')
|
words = words.replace(u'\r\n', u'\n')
|
||||||
verses_text = words.split(u'\n')
|
verses_text = words.split(u'\n')
|
||||||
text = []
|
text = []
|
||||||
@ -175,10 +176,11 @@ class Renderer(object):
|
|||||||
# Text too long so gone to next mage
|
# Text too long so gone to next mage
|
||||||
if layout.pageCount() != 1:
|
if layout.pageCount() != 1:
|
||||||
formatted.append(shell % old_html_text)
|
formatted.append(shell % old_html_text)
|
||||||
temp_text = line
|
temp_text = line + line_end
|
||||||
old_html_text = temp_text
|
old_html_text = temp_text
|
||||||
formatted.append(shell % old_html_text)
|
formatted.append(shell % old_html_text)
|
||||||
log.debug(u'format_slide - End')
|
log.debug(u'format_slide - End')
|
||||||
|
print formatted
|
||||||
return formatted
|
return formatted
|
||||||
|
|
||||||
def _generate_background_frame(self):
|
def _generate_background_frame(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user