summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-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;
}