fix displaying HTML content. Fixes #9210
This commit is contained in:
parent
3ab7f92856
commit
45e03c2545
|
@ -1275,7 +1275,7 @@ class ConversationTextview(GObject.GObject):
|
||||||
if name and (text.startswith('/me ') or text.startswith('/me\n')):
|
if name and (text.startswith('/me ') or text.startswith('/me\n')):
|
||||||
xhtml = xhtml.replace('/me', '<i>* %s</i>' % (name,), 1)
|
xhtml = xhtml.replace('/me', '<i>* %s</i>' % (name,), 1)
|
||||||
self.tv.display_html(xhtml, self.tv, self, iter_=iter_)
|
self.tv.display_html(xhtml, self.tv, self, iter_=iter_)
|
||||||
return
|
return iter_
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
log.debug('Error processing xhtml: %s', error)
|
log.debug('Error processing xhtml: %s', error)
|
||||||
log.debug('with |%s|', xhtml)
|
log.debug('with |%s|', xhtml)
|
||||||
|
|
Loading…
Reference in New Issue