Wider Sonderzeichenfehler, der Rest nachher

This commit is contained in:
Holger Trampe 2019-12-16 18:41:42 +01:00
parent 3fd51d8a44
commit b9c6c798b4
1 changed files with 1 additions and 3 deletions

View File

@ -4,9 +4,7 @@
<h4>Standards</h4>
{% if res_standard|length > 0 %}
{% for s in res_standard %}
<span>
<i class="fas fa-fw fa-lightbulb"></i>&nbsp;&nbsp;<a href="{% url 'standard-single' s.pk %}"><b>{{s.name}}</b></a>&nbsp;|&nbsp;{{s.content|safe|truncatechars:125}}<br /><br />
</span>
<i class="fas fa-fw fa-lightbulb"></i>&nbsp;&nbsp;<a href="{% url 'standard-single' s.pk %}"><b>{{s.name|striptags}}</b>&nbsp;|&nbsp;{{s.content|truncatechars:125|striptags}}</a><br /><br />
{% endfor %}
{% else %}
<p>Keine Ergebnisse in Standards</p>