From 2078f706d656a12f0f9495e0bb348ee4b0282f42 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 10 Feb 2008 16:29:46 -0500 Subject: add parens around scheme regexp --- IkiWiki/Plugin/htmlscrubber.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Plugin') diff --git a/IkiWiki/Plugin/htmlscrubber.pm b/IkiWiki/Plugin/htmlscrubber.pm index e02a8591e..897a398ba 100644 --- a/IkiWiki/Plugin/htmlscrubber.pm +++ b/IkiWiki/Plugin/htmlscrubber.pm @@ -37,7 +37,7 @@ sub scrubber { #{{{ ); # data is a special case. Allow data:image/*, but # disallow data:text/javascript and everything else. - my $link=qr/^(?:$uri_schemes:|data:image\/|[^:]+$)/i; + my $link=qr/^(?:(?:$uri_schemes):|data:image\/|[^:]+$)/i; eval q{use HTML::Scrubber}; error($@) if $@; -- cgit v1.2.3