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 <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 9ef8f098d8)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Martin Renvoize 2025-06-26 15:07:23 +01:00 committed by Paul Derscheid
parent fb2899f311
commit 421968355e
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 1 additions and 1 deletions

View File

@ -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 {