1
0
Fork 0
mirror of https://github.com/safing/web synced 2025-04-21 19:39:08 +00:00

Wrap <a> in <p> for PU cards

this is standard markdown behavior and the CSS is adjusted to it
This commit is contained in:
davegson 2022-02-11 17:50:15 +01:00
parent 9496084df6
commit 4c2f2bdb37

View file

@ -57,7 +57,7 @@
</div> </div>
{% for tag in card.progress %} {% for tag in card.progress %}
{% if tag.type == 'a' %} {% if tag.type == 'a' %}
<{{ tag.type }} href='{{ tag.href }}'>{{ tag.text }}</{{tag.type}}> <p><{{ tag.type }} href='{{ tag.href }}'>{{ tag.text }}</{{tag.type}}></p>
{% elsif tag.type == 'br' %} {% elsif tag.type == 'br' %}
<br/> <br/>
{% elsif tag.type == 'ol' %} {% elsif tag.type == 'ol' %}
@ -78,4 +78,4 @@
{% endfor %} {% endfor %}
</div> </div>
</div> </div>
</div> </div>