forked from openlp/openlp
Fix for being displayed as text.
bzr-revno: 1578
This commit is contained in:
commit
9b4b8dff30
@ -177,10 +177,11 @@ class ServiceItem(object):
|
|||||||
.format_slide(slide[u'raw_slide'], line_break, self)
|
.format_slide(slide[u'raw_slide'], line_break, self)
|
||||||
for page in formatted:
|
for page in formatted:
|
||||||
page = page.replace(u'<br>', u'{br}')
|
page = page.replace(u'<br>', u'{br}')
|
||||||
|
html = expand_tags(cgi.escape(page.rstrip()))
|
||||||
self._display_frames.append({
|
self._display_frames.append({
|
||||||
u'title': clean_tags(page),
|
u'title': clean_tags(page),
|
||||||
u'text': clean_tags(page.rstrip()),
|
u'text': clean_tags(page.rstrip()),
|
||||||
u'html': expand_tags(cgi.escape(page.rstrip())),
|
u'html': html.replace(u'&nbsp;', u' '),
|
||||||
u'verseTag': slide[u'verseTag']
|
u'verseTag': slide[u'verseTag']
|
||||||
})
|
})
|
||||||
elif self.service_item_type == ServiceItemType.Image or \
|
elif self.service_item_type == ServiceItemType.Image or \
|
||||||
|
Loading…
Reference in New Issue
Block a user