diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-23 19:25:08 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-23 19:25:08 +0000 |
commit | a223f4540fee2d0c49523343a422315377bc0025 (patch) | |
tree | d6c52e405efb5baf245c99d1f4dd5f5dc9ecc25b /IkiWiki | |
parent | f5a5df14b7daeb032137c293c4db288e84429dfa (diff) |
support arbitrary characters in page titles, via some ugly use of unicode
character numbers
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Render.pm | 3 |
1 files changed, 1 insertions, 2 deletions
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"); |