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:
parent
9496084df6
commit
4c2f2bdb37
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue