From 9e85aa5026869742c8e9fe2079877e5fb7831fdb Mon Sep 17 00:00:00 2001
From: Jean-Marie Traissard <jim@lapin.org>
Date: Sat, 29 Sep 2007 21:03:31 +0000
Subject: [PATCH] Escape markup for reason in invite received dialog. Fixes
 #3467.

---
 src/dialogs.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/dialogs.py b/src/dialogs.py
index 5b5b841a28..fd1ca16b94 100644
--- a/src/dialogs.py
+++ b/src/dialogs.py
@@ -2601,6 +2601,7 @@ class InvitationReceivedDialog:
 		label_text = '<big><b>%s</b></big>' % pritext
 
 		if comment: # only if not None and not ''
+			comment = gobject.markup_escape_text(comment)
 			sectext = _('Comment: %s') % comment
 			label_text += '\n\n%s' % sectext
 
-- 
GitLab