diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-10-04 18:24:40 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-10-04 18:24:40 +0200 |
commit | 83fec4958d6a4100e6038b39df6f383f304798c8 (patch) | |
tree | c521a6b4b6ceaec1bb6866aaa289344fd8f5bdcc /perl | |
parent | e4b9386df052e390a253464f6c9e67141db23917 (diff) | |
parent | 4de329a521adc49b872679ff772f0a03fd85dd67 (diff) |
Merge branch '_multilang' into allinone-multilang
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; |