diff options
author | Izhar Firdaus <izhar@inigo-tech.com> | 2011-04-14 22:06:14 +0800 |
---|---|---|
committer | Izhar Firdaus <izhar@inigo-tech.com> | 2011-04-14 22:06:14 +0800 |
commit | 11345b4d0099020fc3b156ddd504d98898498fe0 (patch) | |
tree | f2150eb7a20ed48aa149b45cca683ed6f78bf592 | |
parent | d794113338011dfc731fda87ea955d8aa1c9539d (diff) | |
download | hack-patches-11345b4d0099020fc3b156ddd504d98898498fe0.tar.gz hack-patches-11345b4d0099020fc3b156ddd504d98898498fe0.tar.xz hack-patches-11345b4d0099020fc3b156ddd504d98898498fe0.zip |
escape text before sending to pidgin
-rw-r--r-- | gnomeshell@pidgin.im/extension.js | 3 |
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) { |