reverted not necessary change

This commit is contained in:
Andreas Preikschat 2011-09-18 12:32:27 +02:00
parent d62876b411
commit ceec3d6f3a

View File

@ -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: