From a223f4540fee2d0c49523343a422315377bc0025 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 23 Mar 2006 19:25:08 +0000 Subject: support arbitrary characters in page titles, via some ugly use of unicode character numbers --- IkiWiki/Render.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'IkiWiki/Render.pm') diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 98c86bac8..df24fd568 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -84,8 +84,7 @@ sub finalize ($$$) { #{{{ my $page=shift; my $mtime=shift; - my $title=basename($page); - $title=~s/_/ /g; + my $title=pagetitle(basename($page)); my $template=HTML::Template->new(blind_cache => 1, filename => "$config{templatedir}/page.tmpl"); -- cgit v1.2.3