From 421968355e5fb587adafc733eea690bdf582b79a Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 26 Jun 2025 15:07:23 +0100 Subject: [PATCH] Bug 40079: (follow-up) Add dl, dt, dd tags to notes profile scrubber Adds support for HTML description list elements (dl, dt, dd) to the 'note' profile in the HTML scrubber configuration. This allows librarians to use description lists in note fields for better structured content presentation. Signed-off-by: Marcel de Rooy Signed-off-by: Lucas Gass (cherry picked from commit 9ef8f098d815eba9d4c9ca914dec443a3cd95dfc) Signed-off-by: Paul Derscheid --- C4/Scrubber.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Scrubber.pm b/C4/Scrubber.pm index 07561f3b50..fe406ab8dc 100644 --- a/C4/Scrubber.pm +++ b/C4/Scrubber.pm @@ -29,7 +29,7 @@ use C4::Context; my %scrubbertypes = ( default => {}, # place holder, default settings are below as fallbacks in call to constructor comment => { allow => [qw( br b i em big small strong )], }, - note => { allow => [qw[ br b i em big small strong u hr span div p ol ul li ]] }, + note => { allow => [qw[ br b i em big small strong u hr span div p ol ul li dl dt dd ]] }, ); sub new {