Bugzilla – Attachment 183535 Details for
Bug 40079
C4::Scrubber "note" profile should allow for list (ul, ol, li, dl, dt, and dd) HTML tags
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40079: (follow-up) Add dl, dt, dd tags to notes profile scrubber
Bug-40079-follow-up-Add-dl-dt-dd-tags-to-notes-pro.patch (text/plain), 1.09 KB, created by
Martin Renvoize (ashimema)
on 2025-06-26 14:37:52 UTC
(
hide
)
Description:
Bug 40079: (follow-up) Add dl, dt, dd tags to notes profile scrubber
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-06-26 14:37:52 UTC
Size:
1.09 KB
patch
obsolete
>From b3efd3cc040eb779fa16deae0d1ee2e8c2918c08 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@openfifth.co.uk> >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. >--- > C4/Scrubber.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Scrubber.pm b/C4/Scrubber.pm >index 07561f3b507..fe406ab8dca 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 { >-- >2.49.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40079
:
182985
|
183014
|
183534
|
183535
|
183536
|
183537
|
183583
|
183584
|
183585
|
183586