]> git.koha-community.org Git - koha.git/commit
Bug 38488: Add Template::Toolkit filter for C4::Scrubber
authorDavid Cook <dcook@prosentient.com.au>
Wed, 20 Nov 2024 00:21:35 +0000 (00:21 +0000)
committerJesseM <jesse@bywatersolutions.com>
Mon, 24 Feb 2025 16:59:37 +0000 (16:59 +0000)
commit7152b64f67ab43b735e27bc4ea96f6bbb24693bd
tree7e24ac7306846d4d8aad82fad84f4c7a61e5f480
parent09a922b1ee90b57644aefe0531fe36439b72b2c2
Bug 38488: Add Template::Toolkit filter for C4::Scrubber

This change adds a Template::Toolkit filter which is invoked
via " | scrub_html type => 'note' ".

Test plan:
0. Apply the patch
1. prove t/Koha/Plugins/HtmlScrubber.t

Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: JesseM <jesse@bywatersolutions.com>
Koha/Template/Plugin/HtmlScrubber.pm [new file with mode: 0644]
t/Koha/Plugins/HtmlScrubber.t [new file with mode: 0755]