1
0
Fork 0
mirror of https://github.com/safing/web synced 2025-04-09 13:39:09 +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>
{% for tag in card.progress %}
{% 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' %}
<br/>
{% elsif tag.type == 'ol' %}
@ -78,4 +78,4 @@
{% endfor %}
</div>
</div>
</div>
</div>