X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/fc6c0e8b5b0fb9de7bf798ce71a4ea3132285152..040038b6559140b4a8c04396098ade2b4d4573b9:/IkiWiki/Plugin/tag.pm diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm index 707cc5da1..fd5ce1e8a 100644 --- a/IkiWiki/Plugin/tag.pm +++ b/IkiWiki/Plugin/tag.pm @@ -61,9 +61,9 @@ sub tagname ($) { if (defined $config{tagbase}) { $tag =~ s!^/\Q$config{tagbase}\E/!!; } else { - $tag =~ s!^\.?/?!!; + $tag =~ s!^\.?/!!; } - return $tag; + return pagetitle($tag, 1); } sub htmllink_tag ($$$;@) {