summaryrefslogtreecommitdiff
path: root/perl/IkiWiki
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-10-01 17:19:21 +0200
committerJonas Smedegaard <dr@jones.dk>2010-10-01 17:19:21 +0200
commit9620456ac4fcda22dfb71c98d178e6cded45d9aa (patch)
treed68edf856396456e519e0809704f0d33d00c4eaf /perl/IkiWiki
parentea8998eb4ac4c920e724bcdf44f346ed0b7ad5db (diff)
parent6c4d17a70162bf5cb06eaf1895407d8ded2725c5 (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 be29216..0f4dce3 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;