diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-10-01 17:19:09 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2013-10-13 00:47:51 +0200 |
commit | 9201e3addcbadea30c7888d82043fbc9b0378bc2 (patch) | |
tree | 0b7ce5690b00aef5ff47b05720d7ee07a06aab1b /IkiWiki/Plugin | |
parent | 28a4dca4858f889456d71e4b25909ec0f1447d7a (diff) |
Fix make space after hash optional in plugin h1title.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/h1title.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/h1title.pm b/IkiWiki/Plugin/h1title.pm index be29216..0f4dce3 100644 --- a/IkiWiki/Plugin/h1title.pm +++ b/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; |