fix displaying HTML content. Fixes #9210

This commit is contained in:
Yann Leboulanger 2018-09-24 09:37:06 +02:00 committed by Philipp Hörist
parent 3ab7f92856
commit 45e03c2545
1 changed files with 1 additions and 1 deletions

View File

@ -1275,7 +1275,7 @@ class ConversationTextview(GObject.GObject):
if name and (text.startswith('/me ') or text.startswith('/me\n')):
xhtml = xhtml.replace('/me', '<i>* %s</i>' % (name,), 1)
self.tv.display_html(xhtml, self.tv, self, iter_=iter_)
return
return iter_
except Exception as error:
log.debug('Error processing xhtml: %s', error)
log.debug('with |%s|', xhtml)