]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/htmlscrubber.pm
fix error message to include url
[git.ikiwiki.info.git] / IkiWiki / Plugin / htmlscrubber.pm
index 3035307c246001acefd8e3bd945a6f3b8280520b..ae3ec44569d3e666ca5abe60f9afc19e5b6643c6 100644 (file)
@@ -19,6 +19,7 @@ sub scrubber { #{{{
        return $_scrubber if defined $_scrubber;
        
        eval q{use HTML::Scrubber};
+       error($@) if $@;
        # Lists based on http://feedparser.org/docs/html-sanitization.html
        $_scrubber = HTML::Scrubber->new(
                allow => [qw{