summaryrefslogtreecommitdiff
path: root/ext/bg/js/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/util.js')
-rw-r--r--ext/bg/js/util.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/bg/js/util.js b/ext/bg/js/util.js
index 253fcd0f..108c88e7 100644
--- a/ext/bg/js/util.js
+++ b/ext/bg/js/util.js
@@ -201,7 +201,7 @@ function sortTags(tags) {
});
}
-function formatField(field, definition, mode, html) {
+function formatField(field, definition, mode, options) {
const markers = [
'audio',
'character',
@@ -221,7 +221,8 @@ function formatField(field, definition, mode, html) {
const data = {
marker,
definition,
- html,
+ group: options.general.groupResults,
+ html: options.anki.htmlCards,
modeTermKanji: mode === 'term_kanji',
modeTermKana: mode === 'term_kana',
modeKanji: mode === 'kanji'