aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator.js
diff options
context:
space:
mode:
authoranekos2010-08-15 11:48:54 +0000
committeranekos2010-08-15 11:48:54 +0000
commit6aafd080a6842ddbc1c1083c948b9bde4b3b4064 (patch)
treeafaddb9f251032175d4cfee63f2378f1f850b82d /twittperator.js
parentc18c92acd773b079f074ace54d7d0c37fbdfbda6 (diff)
downloadvimperator-plugins-6aafd080a6842ddbc1c1083c948b9bde4b3b4064.tar.bz2
quot も unescape
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38275 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'twittperator.js')
-rwxr-xr-xtwittperator.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/twittperator.js b/twittperator.js
index 805199a..f26e357 100755
--- a/twittperator.js
+++ b/twittperator.js
@@ -28,7 +28,7 @@ let PLUGIN_INFO =
<name>twittperator</name>
<description>Twitter Client using ChirpStream</description>
<description lang="ja">OAuth対応Twitterクライアント</description>
- <version>1.1.2</version>
+ <version>1.1.3</version>
<minVersion>2.3</minVersion>
<maxVersion>2.4</maxVersion>
<author mail="teramako@gmail.com" homepage="http://d.hatena.ne.jp/teramako/">teramako</author>
@@ -1446,13 +1446,13 @@ let PLUGIN_INFO =
return str;
}, // }}}
fixStatusObject: function (st) { // {{{
- function unescapeBrakets(str)
- str.replace(/&lt;/g, "<").replace(/&gt;/g, ">");
+ function unescapeAmps(str)
+ str.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, "\"")
let result = {};
for (let [n, v] in Iterator(st)) {
result[n] = v && typeof v === 'object' ? Util.fixStatusObject(v) :
- n === 'text' ? unescapeBrakets(v) :
+ n === 'text' ? unescapeAmps(v) :
v;
}
return result;