summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnomeshell@pidgin.im/extension.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnomeshell@pidgin.im/extension.js b/gnomeshell@pidgin.im/extension.js
index 1add53b..2428dcd 100644
--- a/gnomeshell@pidgin.im/extension.js
+++ b/gnomeshell@pidgin.im/extension.js
@@ -186,7 +186,8 @@ Source.prototype = {
respond: function(text) {
let proxy = this._client.proxy();
- proxy.PurpleConvImSendRemote(proxy.PurpleConvImSync(this._conversation), text);
+ let _text = GLib.markup_escape_text(text, -1);
+ proxy.PurpleConvImSendRemote(proxy.PurpleConvImSync(this._conversation), _text);
},
_onBuddyStatusChange: function (emitter, buddy, old_status_id, new_status_id) {