fixed formatting tag not being present on slides

This commit is contained in:
Andreas Preikschat 2012-05-05 16:36:47 +02:00
parent b3f733233a
commit b72101c724
1 changed files with 4 additions and 0 deletions

View File

@ -255,6 +255,10 @@ class Renderer(object):
except:
text_to_render = text.split(u'\n[---]\n')[0]
text = u''
text_to_render, raw_tags, html_tags = \
self._get_start_tags(text_to_render)
if text:
text = raw_tags + text
else:
text_to_render = text
text = u''