summaryrefslogtreecommitdiff
path: root/ext/bg/js/yomichan.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/yomichan.js')
-rw-r--r--ext/bg/js/yomichan.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js
index 1f337680..820826f7 100644
--- a/ext/bg/js/yomichan.js
+++ b/ext/bg/js/yomichan.js
@@ -142,9 +142,15 @@ class Yomichan {
}
for (const name in fields) {
- note.fields[name] = formatField(fields[name], definition, mode);
+ note.fields[name] = formatField(
+ fields[name],
+ definition,
+ mode,
+ this.options.anki.htmlCards
+ );
}
+ console.log(note);
return note;
}