forked from openlp/openlp
reverted not necessary change
This commit is contained in:
parent
d62876b411
commit
ceec3d6f3a
@ -377,8 +377,7 @@ class Renderer(object):
|
|||||||
separator = u'<br>'
|
separator = u'<br>'
|
||||||
html_lines = map(expand_tags, lines)
|
html_lines = map(expand_tags, lines)
|
||||||
# Text too long so go to next page.
|
# Text too long so go to next page.
|
||||||
text = separator.join(html_lines)
|
if not self._text_fits_on_slide(separator.join(html_lines)):
|
||||||
if not self._text_fits_on_slide(text):
|
|
||||||
html_text, previous_raw = self._binary_chop(formatted,
|
html_text, previous_raw = self._binary_chop(formatted,
|
||||||
previous_html, previous_raw, html_lines, lines, separator, u'')
|
previous_html, previous_raw, html_lines, lines, separator, u'')
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user