From f8d2cc1b0369e6350a91d540ef6165cd7dc50040 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 17 Apr 2016 20:50:58 -0700 Subject: [PATCH] Get rid of lame spaces --- ext/bg/js/yomichan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }