Fix HTML tags display in project descriptions on homepage
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -392,7 +392,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="p-4">
|
<div class="p-4">
|
||||||
<h5 class="mb-3">{{ project.name }}</h5>
|
<h5 class="mb-3">{{ project.name }}</h5>
|
||||||
<p class="text-muted mb-3">{{ project.description|truncatewords:15 }}</p>
|
<p class="text-muted mb-3">{{ project.short_description|default:project.description|striptags|truncatewords:15 }}</p>
|
||||||
<a href="{% url 'project_detail' project.pk %}" class="text-primary fw-semibold">
|
<a href="{% url 'project_detail' project.pk %}" class="text-primary fw-semibold">
|
||||||
Подробнее <i class="fas fa-arrow-right ms-1"></i>
|
Подробнее <i class="fas fa-arrow-right ms-1"></i>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user