Wrap kanji entry in a Japanese-language div to ensure correct formatting
This commit is contained in:
parent
c66c097101
commit
3430bd2392
@ -11,7 +11,8 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div id="kanji-and-meaning">
|
<div id="entry" lang="ja">
|
||||||
|
<div id="kanji-and-meaning">
|
||||||
<div id="kanji-box">
|
<div id="kanji-box">
|
||||||
<div id="character-box">
|
<div id="character-box">
|
||||||
<span id="kanji">{{ kanji.character }}</span>
|
<span id="kanji">{{ kanji.character }}</span>
|
||||||
@ -25,8 +26,8 @@
|
|||||||
<div id="meaning-box">
|
<div id="meaning-box">
|
||||||
<p id="meanings">{{ kanji.meanings }}</p>
|
<p id="meanings">{{ kanji.meanings }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="readings-and-glyph-origin">
|
<div id="readings-and-glyph-origin">
|
||||||
<div id="reading-box">
|
<div id="reading-box">
|
||||||
<ul id="reading-list-list">
|
<ul id="reading-list-list">
|
||||||
{% if kanji.goon %}<li id="goon"><ul class="reading-list">{% for reading in kanji.goon %}<li class="goon-reading">{{reading|safe}}</li>{% endfor %}</ul></li>{% endif %}
|
{% if kanji.goon %}<li id="goon"><ul class="reading-list">{% for reading in kanji.goon %}<li class="goon-reading">{{reading|safe}}</li>{% endfor %}</ul></li>{% endif %}
|
||||||
@ -40,5 +41,6 @@
|
|||||||
<div id="glyph-origin-box">
|
<div id="glyph-origin-box">
|
||||||
<p id="glyph-origin">{{ kanji.glyph_origin }}</p>
|
<p id="glyph-origin">{{ kanji.glyph_origin }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
|
Loading…
Reference in New Issue
Block a user