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 | 8ac2bd89684297535e1925e7a9b707615f7c5d69 (patch) | |
tree | e00dee5f319a1f48359e0130b7faf8bf3ec139fa | |
parent | 5a3e3878fb48ee065b02da4978e4732a39367dfb (diff) | |
parent | 43b9b69f53ea805e7d38af1bf41e016402c73977 (diff) |
Merge branch '_scs' into scs
-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; |