fix for theme editing

This commit is contained in:
Andreas Preikschat 2011-09-26 18:57:32 +02:00
parent c9b7b55a87
commit 9a40b27672

View File

@ -271,6 +271,8 @@ class Renderer(object):
else: else:
# Clean up line endings. # Clean up line endings.
pages = self._paginate_slide(text.split(u'\n'), line_end) pages = self._paginate_slide(text.split(u'\n'), line_end)
else:
pages = self._paginate_slide(text.split(u'\n'), line_end)
new_pages = [] new_pages = []
for page in pages: for page in pages:
while page.endswith(u'<br>'): while page.endswith(u'<br>'):