Wrap kanji entry in a Japanese-language div to ensure correct formatting

This commit is contained in:
Kiril Kovachev 2024-10-16 16:08:01 +01:00
parent c66c097101
commit 3430bd2392

View File

@ -11,7 +11,8 @@
{% endblock %}
{% block content %}
<div id="kanji-and-meaning">
<div id="entry" lang="ja">
<div id="kanji-and-meaning">
<div id="kanji-box">
<div id="character-box">
<span id="kanji">{{ kanji.character }}</span>
@ -25,8 +26,8 @@
<div id="meaning-box">
<p id="meanings">{{ kanji.meanings }}</p>
</div>
</div>
<div id="readings-and-glyph-origin">
</div>
<div id="readings-and-glyph-origin">
<div id="reading-box">
<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 %}
@ -40,5 +41,6 @@
<div id="glyph-origin-box">
<p id="glyph-origin">{{ kanji.glyph_origin }}</p>
</div>
</div>
{% endblock %}
</div>
{% endblock %}