summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-23 19:25:08 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-23 19:25:08 +0000
commita223f4540fee2d0c49523343a422315377bc0025 (patch)
treed6c52e405efb5baf245c99d1f4dd5f5dc9ecc25b /IkiWiki
parentf5a5df14b7daeb032137c293c4db288e84429dfa (diff)
support arbitrary characters in page titles, via some ugly use of unicode
character numbers
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Render.pm3
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");