From e780c5b4b584e0e9c010cc1e72f293f5715a3efb Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 23 Dec 2023 08:18:25 +0200 Subject: [PATCH] fix description variables --- templates/default/torrent/info.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/default/torrent/info.html.twig b/templates/default/torrent/info.html.twig index e915211..dda2a72 100644 --- a/templates/default/torrent/info.html.twig +++ b/templates/default/torrent/info.html.twig @@ -239,7 +239,7 @@ {# strip all tags then apply whitelist markdown filters to prevent ping from remote #} - {{ file.comment | trim | striptags | url_to_markdown | markdown_to_html | nl2br }} + {{ file.source | trim | striptags | url_to_markdown | markdown_to_html | nl2br }} {% endif %} @@ -250,7 +250,7 @@ {# strip all tags then apply whitelist markdown filters to prevent ping from remote #} - {{ file.comment | trim | striptags | url_to_markdown | markdown_to_html | nl2br }} + {{ file.software | trim | striptags | url_to_markdown | markdown_to_html | nl2br }} {% endif %}