aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/translator.js
diff options
context:
space:
mode:
authorYoitsumi <yoitsumi@gmail.com>2017-08-20 16:07:55 +0200
committerYoitsumi <yoitsumi@gmail.com>2017-08-20 16:07:55 +0200
commitc89678f5dbcb892225ce3781c350fc630d776373 (patch)
tree384f08c5084e4e0c9f31755b616cc61574d5a913 /ext/bg/js/translator.js
parentc4525027daee6e3fdbe206ae1aab0a9c5405d753 (diff)
Improve {furigana} marker for anki export
Diffstat (limited to 'ext/bg/js/translator.js')
-rw-r--r--ext/bg/js/translator.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js
index 1be485c7..daed3109 100644
--- a/ext/bg/js/translator.js
+++ b/ext/bg/js/translator.js
@@ -71,7 +71,8 @@ class Translator {
expression: definition.expression,
reading: definition.reading,
glossary: definition.glossary,
- tags: dictTagsSort(tags)
+ tags: dictTagsSort(tags),
+ furigana: distributeFurigana(definition.expression, definition.reading)
});
}
}