From 89256ab870299242c2f62858680c4a2870600a14 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 26 Sep 2008 18:05:36 -0400 Subject: htmlscrubber: Add a config setting that can be used to disable the scrubber acting on a set of pages. --- doc/plugins/htmlscrubber.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/plugins/htmlscrubber.mdwn') diff --git a/doc/plugins/htmlscrubber.mdwn b/doc/plugins/htmlscrubber.mdwn index b651ffc99..7db372e1b 100644 --- a/doc/plugins/htmlscrubber.mdwn +++ b/doc/plugins/htmlscrubber.mdwn @@ -31,6 +31,12 @@ Note that enabling or disabling the htmlscrubber plugin also affects some other HTML-related functionality, such as whether [[meta]] allows potentially unsafe HTML tags. +The `htmlscrubber_skip` configuration setting can be used to skip scrubbing +of some pages. Set it to a [[PageSpec]], such as "!*/Discussion", and pages +matching that can have all the evil CSS, JavsScript, and unsafe html +elements you like. One safe way to use this is to use [[lockedit]] to lock +those pages, so only admins can edit them. + ---- Some examples of embedded javascript that won't be let through when this -- cgit v1.2.3