aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator.js
diff options
context:
space:
mode:
authoranekos2013-04-07 12:09:59 +0900
committeranekos2013-04-07 12:09:59 +0900
commit27808e83be05aac27880d2e06bd8d593f4961a94 (patch)
tree4de0b39dd2c7f7c746dbde388341bdee77c9ae47 /twittperator.js
parent37f3071e579fbe36deaf17c2513a6619707eab45 (diff)
downloadvimperator-plugins-27808e83be05aac27880d2e06bd8d593f4961a94.tar.bz2
Fix いいいぃいぃぃぃぃいぃぃふぉおおおおおおうううううえっっっっっっくす!!!
Diffstat (limited to 'twittperator.js')
-rw-r--r--twittperator.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/twittperator.js b/twittperator.js
index 604503c..40bc733 100644
--- a/twittperator.js
+++ b/twittperator.js
@@ -1707,9 +1707,9 @@ let INFO = xml`
let center = m[0];
let [head, tail] = [center[0], center.slice(1)];
let right = str.substring(m.index + m[0].length);
- let content = head === "@" ? `<a highlight="URL" href=${setting.showTLURLScheme + "://twitter.com/" + tail}> ${center} </a>`
- : `<a highlight="URL" href=${center}> ${center} </a>`;
- return `${Utils.anchorLink(left)}${content}${Utils.anchorLink(right)}`;
+ let content = head === "@" ? xml`<a highlight="URL" href=${setting.showTLURLScheme + "://twitter.com/" + tail}> ${center} </a>`
+ : xml`<a highlight="URL" href=${center}> ${center} </a>`;
+ return xml`${Utils.anchorLink(left)}${content}${Utils.anchorLink(right)}`;
}
return str;
}, // }}}