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 | dffd26e61d3ad49371a0b3cc399af4269b1e5630 (patch) | |
tree | 3dab7f25b829107ae3fe28f99461b144b78ac8f8 | |
parent | a21cc64a856898d66c9a2a3b2ca53dbde6a12d61 (diff) | |
parent | ffb692916ddc3f5ba928f4a45acd1af6ee9a586c (diff) |
Merge branch '_da' into da
-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; |