diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-10-01 17:19:17 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-10-01 17:19:17 +0200 |
commit | ffb692916ddc3f5ba928f4a45acd1af6ee9a586c (patch) | |
tree | 7b437d6815309b850507d7ba067d4f0ed8bab093 /perl/IkiWiki/Plugin/h1title.pm | |
parent | 18ee76fd6e02aa439b1308719ea2f077a3e75f19 (diff) | |
parent | 86cbb880ba9638924e9c7a641d74f7ea887f38f5 (diff) |
Merge branch 'master' into _da
Diffstat (limited to 'perl/IkiWiki/Plugin/h1title.pm')
-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; |