From 5365a72e429da960017241e9ce527a4a12892571 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 5 Jan 2011 07:20:47 +0100 Subject: [PATCH] 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) --- IkiWiki/Plugin/tag.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ($$$;@) {