diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-02-10 16:29:46 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-02-10 16:29:46 -0500 |
commit | 2078f706d656a12f0f9495e0bb348ee4b0282f42 (patch) | |
tree | adec937dd6fab6b170a0bf88470c4266eb651871 /IkiWiki/Plugin | |
parent | a7be7bdf56b60a08a7ae23a17e20d2bad4cc2971 (diff) |
add parens around scheme regexp
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/htmlscrubber.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 $@; |