Browse Source

Meh, rendering still broken

master
Julio Biason 16 years ago
parent
commit
a2d68378d4
  1. 6
      mitterlib/ui/ui_pygtk.py

6
mitterlib/ui/ui_pygtk.py

@ -494,13 +494,11 @@ class Interface(object):
message = data.message
username = data.username
#_log.debug('Rendering message: %s', message)
time = timesince.timesince(data.message_time)
# unescape escaped entities that pango is not okay with
message = htmlize(message)
message = re.sub(r'&', r'&', message)
#_log.debug('Rendering message: %s', message)
# highlight URLs
mask = r'<span foreground="%s">\1</span>' % (

Loading…
Cancel
Save