summaryrefslogtreecommitdiff
path: root/ext/data/templates/anki-field-templates-upgrade-v27.handlebars
diff options
context:
space:
mode:
Diffstat (limited to 'ext/data/templates/anki-field-templates-upgrade-v27.handlebars')
-rw-r--r--ext/data/templates/anki-field-templates-upgrade-v27.handlebars21
1 files changed, 21 insertions, 0 deletions
diff --git a/ext/data/templates/anki-field-templates-upgrade-v27.handlebars b/ext/data/templates/anki-field-templates-upgrade-v27.handlebars
new file mode 100644
index 00000000..67dca143
--- /dev/null
+++ b/ext/data/templates/anki-field-templates-upgrade-v27.handlebars
@@ -0,0 +1,21 @@
+{{<<<<<<<}}
+{{#*inline "sentence-furigana"}}
+ {{~#if definition.cloze~}}
+ {{~#if (hasMedia "textFurigana" definition.cloze.sentence)~}}
+ {{getMedia "textFurigana" definition.cloze.sentence escape=false}}
+ {{~else~}}
+ {{definition.cloze.sentence}}
+ {{~/if~}}
+ {{~/if~}}
+{{/inline}}
+{{=======}}
+{{#*inline "sentence-furigana"}}
+ {{~#if definition.cloze~}}
+ {{~#if (hasMedia "textFurigana" definition.cloze.sentence)~}}
+ {{{getMedia "textFurigana" definition.cloze.sentence escape=false}}}
+ {{~else~}}
+ {{{definition.cloze.sentence}}}
+ {{~/if~}}
+ {{~/if~}}
+{{/inline}}
+{{>>>>>>>}}