summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-10-04 18:24:39 +0200
committerJonas Smedegaard <dr@jones.dk>2010-10-04 18:24:39 +0200
commit28e4285924e52e3a12912b98d32f321ed9e8c878 (patch)
tree044c7007ad5a8d8acc1ea0d5db22e4b477eb8ec1 /perl
parent0d1c78a9f2a732b60627084308e49c89b25555a3 (diff)
parent4de329a521adc49b872679ff772f0a03fd85dd67 (diff)
Merge branch '_multilang' into multilang
Diffstat (limited to 'perl')
-rw-r--r--perl/IkiWiki/Plugin/h1title.pm2
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;