Koha comes with a number of pre-defined C4::Scrubber profiles, but there are times where you might want to configure a different profile. Either for overriding built in profiles or for use with the Template::Toolkit scrubber filter.
Created attachment 195038 [details] [review] Bug 42047: Override configuration using html_scrubber.yaml This patch allows you to override any of the C4::Scrubber settings using a file called "html_scrubber.yaml" which is to be located in the same directory as your koha-conf.xml file. This allows people to override existing configurations in the event that they're not permissive enough (or are too permissive) e.g. The following YAML placed at /etc/koha/sites/kohadev/html_scrubber.yaml would make the additional_content scrubber only allow "div" --- additional_content: allow: ["div"]