aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-01-05 07:20:47 +0100
committerJoey Hess <joey@kitenet.net>2011-01-05 12:06:36 -0400
commit5365a72e429da960017241e9ce527a4a12892571 (patch)
tree311af2561ea6f27238296e2810bdf5303a6f1130 /IkiWiki
parent3d893db65f8109ead4868c7e692277b05fb0ec20 (diff)
downloadikiwiki-5365a72e429da960017241e9ce527a4a12892571.tar
ikiwiki-5365a72e429da960017241e9ce527a4a12892571.tar.gz
unescape tag names
Since tag names are now retrieved from the file names, we must revert the escaping process that santizes the file names. Solve by adding a `pagetitle()` call at the end of the tagname() (cherry picked from commit 0ee0612b1ab11d76eb3790c8db7a2ba992c54f6b)
Diffstat (limited to 'IkiWiki')
-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 ff419dff2..fd5ce1e8a 100644
--- a/IkiWiki/Plugin/tag.pm
+++ b/IkiWiki/Plugin/tag.pm
@@ -63,7 +63,7 @@ sub tagname ($) {
} else {
$tag =~ s!^\.?/!!;
}
- return $tag;
+ return pagetitle($tag, 1);
}
sub htmllink_tag ($$$;@) {