diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-10-01 17:19:19 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-10-01 17:19:19 +0200 |
commit | 32bf65dd9300863bc7208eabf03f2ecba15daf5c (patch) | |
tree | d62cf54a559d6d33ef41373e116139eec117eb5f /perl | |
parent | 81d6a832dc0590cf38d6ca05ed092e8d97ce49f6 (diff) | |
parent | ffb692916ddc3f5ba928f4a45acd1af6ee9a586c (diff) |
Merge branch '_da' into allinone-da
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; |