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 | 4de329a521adc49b872679ff772f0a03fd85dd67 (patch) | |
tree | 044c7007ad5a8d8acc1ea0d5db22e4b477eb8ec1 /perl/IkiWiki/Plugin | |
parent | f0629b8667f51789ee742a1b462cebd603a8be0a (diff) | |
parent | aec936402835fc011536be85e6af058dcfb4f924 (diff) |
Merge branch 'master' into _multilang
Diffstat (limited to 'perl/IkiWiki/Plugin')
-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; |