diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-10-01 17:19:21 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-10-01 17:19:21 +0200 |
commit | 9620456ac4fcda22dfb71c98d178e6cded45d9aa (patch) | |
tree | d68edf856396456e519e0809704f0d33d00c4eaf /perl | |
parent | ea8998eb4ac4c920e724bcdf44f346ed0b7ad5db (diff) | |
parent | 6c4d17a70162bf5cb06eaf1895407d8ded2725c5 (diff) |
Merge branch '_clean' into allinone
Diffstat (limited to 'perl')
-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; |