diff --git a/mitterlib/ui/ui_pygtk.py b/mitterlib/ui/ui_pygtk.py index c7fff3e..aaf64c6 100644 --- a/mitterlib/ui/ui_pygtk.py +++ b/mitterlib/ui/ui_pygtk.py @@ -576,14 +576,12 @@ class Interface(object): processing.""" data = store.get_value(position, 0) - - message = data.message - username = data.username - time = timesince.timesince(data.message_time) # unescape escaped entities that pango is not okay with - message = html_escape(message) + message = html_escape(data.message) + username = html_escape(data.username) + full_name = html_escape(data.name) # highlight URLs mask = r'\1' % ( @@ -612,7 +610,7 @@ class Interface(object): else: reposted_message = '' - markup = MESSAGE_FORMAT % (favourite, data.name, username, + markup = MESSAGE_FORMAT % (favourite, full_name, username, reposted_message, read_status, message, time) cell.set_property('markup', markup)