add * when we print /me in html text

This commit is contained in:
Yann Leboulanger 2009-04-12 10:14:27 +00:00
parent 68683015f7
commit 67fb611bd3
1 changed files with 1 additions and 1 deletions

View File

@ -1249,7 +1249,7 @@ class ConversationTextview:
if xhtml:
try:
if name and (text.startswith('/me ') or text.startswith('/me\n')):
xhtml = xhtml.replace('/me', '<dfn>%s</dfn>' % (name,), 1)
xhtml = xhtml.replace('/me', '<i>* %s</i>' % (name,), 1)
self.tv.display_html(xhtml.encode('utf-8'))
return
except Exception, e: