]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/tag.pm
Merge branch 'ready/tag-test' into transient-tag
[git.ikiwiki.info.git] / IkiWiki / Plugin / tag.pm
index 707cc5da1b5dbd4941c8e78a0944485503f38779..fd5ce1e8a91488ce5d5b20709001fd3d177def97 100644 (file)
@@ -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 ($$$;@) {