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