summaryrefslogtreecommitdiff
path: root/perl/IkiWiki
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
commitcad5e8cdd1a48bec7afe77f47aace027e879be33 (patch)
treeac0f169ec4806255d21b76c5e9ab38429a52c7c9 /perl/IkiWiki
parent744d7460a9ebfab0f0f3f8046eca59011d9adeb5 (diff)
parentdb108ae4e6430f302f3045ff13c0ff05ff8f0234 (diff)
Merge branch '_clean' into allinone
Diffstat (limited to 'perl/IkiWiki')
-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;