sub titlepage ($) { #{{{
my $title=shift;
$title=~y/ /_/;
- # Note: [:alnum:] is not used here, on purpose; unicode
- # not allowed in urls.
- $title=~s/([^-A-Za-z0-9_:+\/.])/"__".ord($1)."__"/eg;
+ $title=~s/([^-[:alnum:]_:+\/.])/"__".ord($1)."__"/eg;
return $title;
} #}}}
* Make aggregator save permalinks and author name to pages as metadata.
* Add permalink and author support to meta plugin, affecting RSS feeds
and blog pages.
- * Change titlepage() to encode utf-8 alnum characters. This is necessary
- to avoid UTF-8 creeping into filenames in urls. (There are still
- some other ways that it can get in.)
* Various CSS and formatting changes.
-- Joey Hess <joeyh@debian.org> Thu, 3 Aug 2006 18:45:36 -0400