Remove space before period in cross-reference groups

Tightened template formatting to ensure no space appears
between the last reference and the period.

Now: Genesis 2:5.
Not: Genesis 2:5 .

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-28 16:22:53 -05:00
parent 86d111942d
commit 3ac3498d33
+1 -4
View File
@@ -271,10 +271,7 @@ hr::before {
<input type="checkbox" id="sn-{{ verse.verse }}-xrefs" class="margin-toggle"/>
<span class="sidenote">
{% for group in commentary.cross_reference_groups %}
<strong>{{ group.description }}:</strong>
{% for ref in group.refs %}
<a href="{{ ref.url }}">{{ ref.text }}</a>{% if not loop.last %}; {% endif %}
{% endfor %}.{% if not loop.last %}<br>{% endif %}
<strong>{{ group.description }}:</strong> {% for ref in group.refs %}<a href="{{ ref.url }}">{{ ref.text }}</a>{% if not loop.last %}; {% endif %}{% endfor %}.{% if not loop.last %}<br>{% endif %}
{% endfor %}
</span>
{% endif %}