Only scrub HTML on blueprints
Originally created by @sajolida on #16901 (Redmine)
On all the pages of the website that we wrote lately and that needed some special look, we had to disable the htmlscrubber plugin of ikiwiki through the htmlscrubber_skip configuration variable of ikiwiki.
For example:
- https://tails.boum.org/donate
- https://tails.boum.org/contribute/personas
- https://tails.boum.org/install/download
- https://tails.boum.org/home
- etc.
This is mostly due to the fact that htmlscrubber disallows the use of custom style sheets but also to be able to add some JavaScript.
Custom style sheets are useful to customize specific pages while preventing local.css to go wild.
I’m tired of editing htmlscrubber_skip each time and having to ask our sysadmins to edit it. See #16540 (closed) for a painful example of that.
htmlscrubber was initially enabled on all the website because all pages were publicly editable. Now that only blueprints are editable, I propose to only disable htmlscrubber on all the website except blueprints.
Feature Branch: web/16901-only-scrub-blueprints