summaryrefslogtreecommitdiff
path: root/perl/IkiWiki/Plugin
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
commitdffd26e61d3ad49371a0b3cc399af4269b1e5630 (patch)
tree3dab7f25b829107ae3fe28f99461b144b78ac8f8 /perl/IkiWiki/Plugin
parenta21cc64a856898d66c9a2a3b2ca53dbde6a12d61 (diff)
parentffb692916ddc3f5ba928f4a45acd1af6ee9a586c (diff)
Merge branch '_da' into da
Diffstat (limited to 'perl/IkiWiki/Plugin')
-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;