Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T tails
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 972
    • Issues 972
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • tails
  • tails
  • Issues
  • #16901
Closed
Open
Issue created Jul 20, 2019 by sajolida@sajolidaMaintainer

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

Attachments

  • 0001-Test-for-web-16901-only-scrub-blueprints.patch
Edited May 21, 2020 by sajolida
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking