summaryrefslogtreecommitdiff
path: root/tmpl/fields.html
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/fields.html')
-rw-r--r--tmpl/fields.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/tmpl/fields.html b/tmpl/fields.html
index 944a43e6..2794484c 100644
--- a/tmpl/fields.html
+++ b/tmpl/fields.html
@@ -44,12 +44,16 @@
{{#*inline "furigana"}}
{{~#if html~}}
- {{~#if definition.reading}}<ruby>{{definition.expression}}<rt>{{definition.reading}}</rt></ruby>{{else}}{{definition.expression}}{{/if~}}
+ {{#furigana}}{{{definition}}}{{/furigana}}
{{~else~}}
- {{~#if definition.reading}}{{definition.expression}} [{{definition.reading}}]{{else}}{{definition.expression}}{{/if~}}
+ {{#furiganaPlain}}{{{definition}}}{{/furiganaPlain}}
{{~/if~}}
{{/inline}}
+{{#*inline "furigana-plain"}}
+ {{#furiganaPlain}}{{{definition}}}{{/furiganaPlain}}
+{{/inline}}
+
{{#*inline "glossary"}}
{{~#if html}}<div style="text-align: left;">{{/if~}}
{{~#if modeKanji~}}