forked from openlp/openlp
do not expand the tags
This commit is contained in:
parent
2b7040a517
commit
ccd0a46e2b
@ -259,8 +259,7 @@ class Renderer(object):
|
|||||||
else:
|
else:
|
||||||
html_text = text
|
html_text = text
|
||||||
text = u''
|
text = u''
|
||||||
lines = expand_tags(html_text)
|
lines = html_text.strip(u'\n').split(u'\n')
|
||||||
lines = lines.strip(u'\n').split(u'\n')
|
|
||||||
slides = self._paginate_slide(lines, line_end)
|
slides = self._paginate_slide(lines, line_end)
|
||||||
if len(slides) > 1 and text:
|
if len(slides) > 1 and text:
|
||||||
# Add all slides apart from the last one the
|
# Add all slides apart from the last one the
|
||||||
@ -274,8 +273,7 @@ class Renderer(object):
|
|||||||
else:
|
else:
|
||||||
pages.extend(slides)
|
pages.extend(slides)
|
||||||
if u'[---]' not in text:
|
if u'[---]' not in text:
|
||||||
lines = expand_tags(text)
|
lines = text.strip(u'\n').split(u'\n')
|
||||||
lines = lines.strip(u'\n').split(u'\n')
|
|
||||||
pages.extend(self._paginate_slide(lines, line_end))
|
pages.extend(self._paginate_slide(lines, line_end))
|
||||||
break
|
break
|
||||||
new_pages = []
|
new_pages = []
|
||||||
|
Loading…
Reference in New Issue
Block a user