summaryrefslogtreecommitdiff
path: root/tmpl/fields.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-08-26 11:57:34 -0700
committerAlex Yatskov <alex@foosoft.net>2017-08-26 11:57:34 -0700
commit190c749527c5c5f8afec7ead6956a5f3d7c1a422 (patch)
tree2945b2c95657e71b1e99212d9646e6bd30961ab3 /tmpl/fields.html
parent49f0243527e504aa3fe196bc6dc759b6948f8a0b (diff)
improved furigana support
Diffstat (limited to 'tmpl/fields.html')
-rw-r--r--tmpl/fields.html16
1 files changed, 1 insertions, 15 deletions
diff --git a/tmpl/fields.html b/tmpl/fields.html
index 8bd94dc0..df3f3a96 100644
--- a/tmpl/fields.html
+++ b/tmpl/fields.html
@@ -43,21 +43,7 @@
{{/inline}}
{{#*inline "furigana"}}
- {{~#if html~}}
- {{~#definition.furigana~}}
- {{~#if furigana~}}
- <ruby>{{text}}<rt>{{furigana}}</rt></ruby>
- {{~else~}}
- {{text}}
- {{/if~}}
- {{~/definition.furigana~}}
- {{~else~}}
- {{#definition.furigana}}
- {{~#furigana}} {{/furigana~}}
- {{text}}
- {{~#furigana}}[{{.}}]{{/furigana~}}
- {{/definition.furigana}}
- {{~/if~}}
+ {{#furigana}}{{{definition}}}{{/furigana}}
{{/inline}}
{{#*inline "glossary"}}