Get rid of lame spaces

This commit is contained in:
Alex Yatskov 2016-04-17 20:50:58 -07:00
parent 5dcae0d44b
commit f8d2cc1b03

View File

@ -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;
}