diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-10-01 17:19:16 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-10-01 17:19:16 +0200 |
commit | 6c4d17a70162bf5cb06eaf1895407d8ded2725c5 (patch) | |
tree | b88625cb9e462f5ce02a97290b840dae14f6df7e | |
parent | ffc4fbdd9d004ce2cae5158c51bf2f7c66fc30a5 (diff) | |
parent | 86cbb880ba9638924e9c7a641d74f7ea887f38f5 (diff) |
Merge branch 'master' into _clean
-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; |