From 803c1373e0e726cab316367a732b1cc7d8cadd91 Mon Sep 17 00:00:00 2001 From: "Andrey K. Choi" Date: Wed, 26 Nov 2025 20:55:27 +0900 Subject: [PATCH] Fix HTML tags display in project descriptions on homepage --- smartsoltech/web/templates/web/home_modern.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smartsoltech/web/templates/web/home_modern.html b/smartsoltech/web/templates/web/home_modern.html index 2e58312..a521233 100644 --- a/smartsoltech/web/templates/web/home_modern.html +++ b/smartsoltech/web/templates/web/home_modern.html @@ -392,7 +392,7 @@ {% endif %}
{{ project.name }}
-

{{ project.description|truncatewords:15 }}

+

{{ project.short_description|default:project.description|striptags|truncatewords:15 }}

Подробнее