forked from openlp/openlp
do not use the same name twice
This commit is contained in:
parent
ccd0a46e2b
commit
6c7527349d
|
@ -255,11 +255,11 @@ class Renderer(object):
|
|||
# we have to render the first virtual slide.
|
||||
text_contains_break = u'[---]' in text
|
||||
if text_contains_break:
|
||||
html_text, text = text.split(u'\n[---]\n', 1)
|
||||
text_to_render, text = text.split(u'\n[---]\n', 1)
|
||||
else:
|
||||
html_text = text
|
||||
text_to_render = text
|
||||
text = u''
|
||||
lines = html_text.strip(u'\n').split(u'\n')
|
||||
lines = text_to_render.strip(u'\n').split(u'\n')
|
||||
slides = self._paginate_slide(lines, line_end)
|
||||
if len(slides) > 1 and text:
|
||||
# Add all slides apart from the last one the
|
||||
|
|
Loading…
Reference in New Issue