diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-10-01 17:19:18 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-10-01 17:19:18 +0200 |
commit | 092af032949dbcda6efdd5a5d8082c9385391b4e (patch) | |
tree | 06bd880b750aa034a6cc397abeac02a0e9200b4c /perl/IkiWiki | |
parent | 103e9c9caebb36dffc6320012403fd38c4d930b6 (diff) | |
parent | 6e1efac5c3ea676d2154dd3cb7d6e8bac009e22e (diff) |
Merge branch '_nb' into nb
Diffstat (limited to 'perl/IkiWiki')
-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; |