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 <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit c702e2ea4e)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
(cherry picked from commit 37a4ec3c0d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Emily Lamancusa 2025-07-15 09:24:53 -04:00 committed by Fridolin Somers
parent 805f19c806
commit 0cd39c8d9a
No known key found for this signature in database
GPG Key ID: 9A8E73E2A8B96537
1 changed files with 1 additions and 1 deletions

View File

@ -816,7 +816,7 @@
[% IF db_audit.diff_found %]
<div>
<pre>
<code>[% db_audit.diff | $raw %]</code>
<code>[% db_audit.diff | html %]</code>
</pre>
</div>
[% END %]