Get rid of lame spaces
This commit is contained in:
parent
5dcae0d44b
commit
f8d2cc1b03
@ -24,7 +24,7 @@ class Yomichan {
|
|||||||
let result = '';
|
let result = '';
|
||||||
for (const c of options.fn(this)) {
|
for (const c of options.fn(this)) {
|
||||||
if (Translator.isKanji(c)) {
|
if (Translator.isKanji(c)) {
|
||||||
result += Handlebars.templates['kanji-link.html']({kanji: c});
|
result += Handlebars.templates['kanji-link.html']({kanji: c}).trim();
|
||||||
} else {
|
} else {
|
||||||
result += c;
|
result += c;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user