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 | 5b718600c4cc9e664cca76ce921753baf4efc2b7 (patch) | |
tree | 76e9e9af78a7e09a2cfc5359ebc079064f188d6d | |
parent | 16a923e1ee880ef3dfb6e563e7c25a44a8fbcce8 (diff) | |
parent | aec936402835fc011536be85e6af058dcfb4f924 (diff) |
Merge branch 'master' into _nb
-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; |