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 | a7e9f72327b8ac0e1e5e9b8ec6abf8d206ec9547 (patch) | |
tree | e575d2e9dea3c525ad85dbbe42d62c821d3fcd7e | |
parent | dc6aa5982301501575b7b685b090128252376809 (diff) | |
parent | db108ae4e6430f302f3045ff13c0ff05ff8f0234 (diff) |
Merge branch '_clean' into clean
-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; |