aboutsummaryrefslogtreecommitdiff
path: root/tmpl/fields.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-08-26 12:36:56 -0700
committerAlex Yatskov <alex@foosoft.net>2017-08-26 12:36:56 -0700
commit65b679caeb7ae7261ea6f2ba76d1b14ff1d68c5c (patch)
tree16ff39b4730b5c84b0952a0cdd10b09e86d6a5b3 /tmpl/fields.html
parent4325f325975614dc728a14fec0478654b1b43777 (diff)
parentdbe6a16ca4db10b1c3ff51d0d79b563ff2bb7aeb (diff)
Merge branch 'master' into firefox-amo
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~}}