Fix possible parsing error
This commit is contained in:
parent
7539d5b70e
commit
71fd4665eb
|
@ -592,7 +592,8 @@ class RosterTooltip(NotificationAreaTooltip):
|
||||||
vertical_fill, 0, 0)
|
vertical_fill, 0, 0)
|
||||||
else:
|
else:
|
||||||
if isinstance(property[0], (unicode, str)): #FIXME: rm unicode?
|
if isinstance(property[0], (unicode, str)): #FIXME: rm unicode?
|
||||||
label.set_markup(property[0])
|
markup = gobject.markup_escape_text(property[0])
|
||||||
|
label.set_markup(markup)
|
||||||
label.set_line_wrap(True)
|
label.set_line_wrap(True)
|
||||||
else:
|
else:
|
||||||
label = property[0]
|
label = property[0]
|
||||||
|
|
Loading…
Reference in New Issue