summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-01-04 15:59:00 -0400
committerJoey Hess <joey@kitenet.net>2011-01-04 15:59:00 -0400
commitfc6c0e8b5b0fb9de7bf798ce71a4ea3132285152 (patch)
tree9c80c28ed58e04986dbb9a94250dc4e4cf70d358 /IkiWiki/Plugin
parenta17469e3882f55bee93863c6e265b96b80ec9fef (diff)
fix patch to not expose config setting as a regexp
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/tag.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm
index 9897efc08..707cc5da1 100644
--- a/IkiWiki/Plugin/tag.pm
+++ b/IkiWiki/Plugin/tag.pm
@@ -59,7 +59,7 @@ sub taglink ($) {
sub tagname ($) {
my $tag=shift;
if (defined $config{tagbase}) {
- $tag =~ s!^/$config{tagbase}/!!;
+ $tag =~ s!^/\Q$config{tagbase}\E/!!;
} else {
$tag =~ s!^\.?/?!!;
}