From ceec3d6f3a52b3c752d71ee74f3d35d16c478093 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Sun, 18 Sep 2011 12:32:27 +0200 Subject: [PATCH] reverted not necessary change --- openlp/core/lib/renderer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openlp/core/lib/renderer.py b/openlp/core/lib/renderer.py index bf7319da0..37443a76c 100644 --- a/openlp/core/lib/renderer.py +++ b/openlp/core/lib/renderer.py @@ -377,8 +377,7 @@ class Renderer(object): separator = u'
' html_lines = map(expand_tags, lines) # Text too long so go to next page. - text = separator.join(html_lines) - if not self._text_fits_on_slide(text): + if not self._text_fits_on_slide(separator.join(html_lines)): html_text, previous_raw = self._binary_chop(formatted, previous_html, previous_raw, html_lines, lines, separator, u'') else: