Skip to content
Snippets Groups Projects
Commit 45e03c25 authored by Yann Leboulanger's avatar Yann Leboulanger Committed by Philipp Hörist
Browse files

fix displaying HTML content. Fixes #9210

parent 3ab7f928
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment