From 0cd39c8d9a08bbcd5274fb0bbbb4be1dd9405dc2 Mon Sep 17 00:00:00 2001 From: Emily Lamancusa Date: Tue, 15 Jul 2025 09:24:53 -0400 Subject: [PATCH] Bug 40370: (QA follow-up) Change raw filter to html The diff doesn't contain intentional HTML formatting, and pre tags do not prevent un-escaped HTML from being interpreted, so we should not use the raw filter here Signed-off-by: Emily Lamancusa Signed-off-by: Lucas Gass (cherry picked from commit c702e2ea4e31b0af03055b6f839453f9cccfa458) Signed-off-by: Paul Derscheid (cherry picked from commit 37a4ec3c0de8efd962a4822053bc7b7f925064fb) Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt index de7bf6af0a..1e6de8ac50 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -816,7 +816,7 @@ [% IF db_audit.diff_found %]
-                    [% db_audit.diff | $raw %]
+                    [% db_audit.diff | html %]
                 
[% END %]