diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-10-01 17:19:23 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-10-01 17:19:23 +0200 |
commit | 9a0497909c46dcbefec07159140361d0b9df799f (patch) | |
tree | a6a226a8d38b0a34d93b8f523eacf111cd71d5c8 /perl/IkiWiki/Plugin | |
parent | 41acfd89e07e6395d609f84118feec164186b763 (diff) | |
parent | c4774d58c63594b4d8096f8395d074ba2dd289c4 (diff) |
Merge branch '_multilang' into allinone-multilang
Diffstat (limited to 'perl/IkiWiki/Plugin')
-rw-r--r-- | perl/IkiWiki/Plugin/h1title.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/IkiWiki/Plugin/h1title.pm b/perl/IkiWiki/Plugin/h1title.pm index be29216..0f4dce3 100644 --- a/perl/IkiWiki/Plugin/h1title.pm +++ b/perl/IkiWiki/Plugin/h1title.pm @@ -15,7 +15,7 @@ sub filter(@) { my $page = $params{page}; my $content = $params{content}; - if ($content =~ s/^\#[ \t]+(.*?)[ \t]*\#*\n//) { + if ($content =~ s/^\#[ \t]*(.*?)[ \t]*\#*\n//) { $pagestate{$page}{meta}{title} = $1; } return $content; |