summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-10-01 17:19:18 +0200
committerJonas Smedegaard <dr@jones.dk>2010-10-01 17:19:18 +0200
commita377623ba6f940f9f595686f1a2cd56365fe00df (patch)
tree57e151d46bf6e51452065470e48207abc907f6f0
parent0a7ab0f6ad1ee621950482e87d23199144b14c58 (diff)
parent6c4d17a70162bf5cb06eaf1895407d8ded2725c5 (diff)
Merge branch '_clean' into clean
-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;