Merge pull request #265 from Rapptz/patch-1
Proper spacing for Anki in {furigana-plain}
This commit is contained in:
commit
43ddffeb7a
@ -49,13 +49,13 @@ function handlebarsFuriganaPlain(options) {
|
||||
let result = '';
|
||||
for (const seg of segs) {
|
||||
if (seg.furigana) {
|
||||
result += `${seg.text}[${seg.furigana}]`;
|
||||
result += ` ${seg.text}[${seg.furigana}]`;
|
||||
} else {
|
||||
result += seg.text;
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
return result.trimLeft();
|
||||
}
|
||||
|
||||
function handlebarsKanjiLinks(options) {
|
||||
|
Loading…
Reference in New Issue
Block a user