Skip to content
Snippets Groups Projects
Commit e96c70d3 authored by jimpp's avatar jimpp
Browse files

Pango escape title of notification too. Fixes #1915.

parent f9e874a1
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,7 @@ def notify(event_type, jid, account, msg_type = '', path_to_image = None,
the Desktop Notification Specification. If that fails, then we fall back to
the older style PopupNotificationWindow method.'''
text = gtkgui_helpers.escape_for_pango_markup(text)
title = gtkgui_helpers.escape_for_pango_markup(title)
if gajim.config.get('use_notif_daemon') and dbus_support.supported:
try:
DesktopNotification(event_type, jid, account, msg_type, path_to_image,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment