aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-02-10 16:29:46 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-02-10 16:29:46 -0500
commit2078f706d656a12f0f9495e0bb348ee4b0282f42 (patch)
treeadec937dd6fab6b170a0bf88470c4266eb651871 /IkiWiki
parenta7be7bdf56b60a08a7ae23a17e20d2bad4cc2971 (diff)
downloadikiwiki-2078f706d656a12f0f9495e0bb348ee4b0282f42.tar
ikiwiki-2078f706d656a12f0f9495e0bb348ee4b0282f42.tar.gz
add parens around scheme regexp
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/htmlscrubber.pm2
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 $@;