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 | cad5e8cdd1a48bec7afe77f47aace027e879be33 (patch) | |
tree | ac0f169ec4806255d21b76c5e9ab38429a52c7c9 | |
parent | 744d7460a9ebfab0f0f3f8046eca59011d9adeb5 (diff) | |
parent | db108ae4e6430f302f3045ff13c0ff05ff8f0234 (diff) |
Merge branch '_clean' into allinone
-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; |