diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-08-26 11:57:34 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-08-26 11:57:34 -0700 |
commit | 190c749527c5c5f8afec7ead6956a5f3d7c1a422 (patch) | |
tree | 2945b2c95657e71b1e99212d9646e6bd30961ab3 /tmpl/terms.html | |
parent | 49f0243527e504aa3fe196bc6dc759b6948f8a0b (diff) |
improved furigana support
Diffstat (limited to 'tmpl/terms.html')
-rw-r--r-- | tmpl/terms.html | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tmpl/terms.html b/tmpl/terms.html index db36e5cc..ffe52ab8 100644 --- a/tmpl/terms.html +++ b/tmpl/terms.html @@ -31,11 +31,7 @@ <img src="/mixed/img/entry-current.png" class="current" title="Current entry (Alt + Up/Down/Home/End/PgUp/PgDn)" alt> </div> - {{#if reading}} - <div class="expression"><ruby>{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}<rt>{{reading}}</rt></ruby></div> - {{else}} - <div class="expression">{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}</div> - {{/if}} + <div class="expression">{{#kanjiLinks}}{{#furigana}}{{{.}}}{{/furigana}}{{/kanjiLinks}}</div> {{#if reasons}} <div class="reasons"> |