if (exists $config{htmlscrubber_skip} &&
length $config{htmlscrubber_skip} &&
- exists $params{destpage} &&
- pagespec_match($params{destpage}, $config{htmlscrubber_skip})) {
+ exists $params{page} &&
+ pagespec_match($params{page}, $config{htmlscrubber_skip})) {
return $params{content};
}
* websetup: Fix defaults of checkboxes in advanced mode.
* Fix test suite failure on other side of date line.
* Set isPermaLink="no" for guids in rss feeds.
+ * Fix htmlscrubber_skip to be matched on the source page, not the page it is
+ inlined into. Should allow setting to "* and !comment(*)" to scrub
+ comments, but leave your blog posts unscrubbed, etc.
-- Joey Hess <joeyh@debian.org> Sun, 15 Aug 2010 11:42:55 -0400