aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/yomichan.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-01-21 19:30:01 -0800
committerAlex Yatskov <alex@foosoft.net>2017-01-21 19:30:01 -0800
commit985c5df328ccff8492576d005a00fae828f56bab (patch)
tree79e14fff612e75c7f7ef6863e4843561fa5b6d45 /ext/bg/js/yomichan.js
parent03e1a03634ed5bccea3bddb3f6487effc7eb17db (diff)
WIP
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;
}