diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-10-04 18:24:39 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-10-04 18:24:39 +0200 |
commit | 8c58ba59d07c455ca73ca65f6f0c50f48093f9b8 (patch) | |
tree | 07a49afa6ebfcf7eb7b3c7d912b2cf3f7344dcc7 /perl | |
parent | 190e7e22db0065f2c66618ff1e5ee505293af54f (diff) | |
parent | 5b718600c4cc9e664cca76ce921753baf4efc2b7 (diff) |
Merge branch '_nb' into nb
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 2d5d05f..1a16b1f 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; |