diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-10-04 18:24:35 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2013-10-13 00:47:52 +0200 |
commit | 853edd3be5817357db2c3f313d3ea0e42cca6c9b (patch) | |
tree | e1296b3cb0b7331630d39acadd53f3692170f7c4 | |
parent | 05a730e0530c0a892f5ce7f4f1a4495f1ca2475c (diff) |
Really really fix make space after hash optional in plugin h1title.
-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 2d5d05f..1a16b1f 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; |