https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42047

--- Comment #1 from David Cook <[email protected]> ---
Created attachment 195038
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195038&action=edit
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"]

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to