aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/yomichan.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-17 20:50:58 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-17 20:50:58 -0700
commitf8d2cc1b0369e6350a91d540ef6165cd7dc50040 (patch)
tree1c70810fe7a6c680b0dd48a1b63dba151c55f70b /ext/bg/js/yomichan.js
parent5dcae0d44bafcd580f712421f2cbd9bfff793f70 (diff)
Get rid of lame spaces
Diffstat (limited to 'ext/bg/js/yomichan.js')
-rw-r--r--ext/bg/js/yomichan.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js
index 6611e7ac..110fb403 100644
--- a/ext/bg/js/yomichan.js
+++ b/ext/bg/js/yomichan.js
@@ -24,7 +24,7 @@ class Yomichan {
let result = '';
for (const c of options.fn(this)) {
if (Translator.isKanji(c)) {
- result += Handlebars.templates['kanji-link.html']({kanji: c});
+ result += Handlebars.templates['kanji-link.html']({kanji: c}).trim();
} else {
result += c;
}