summaryrefslogtreecommitdiff
path: root/perl/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-10-01 17:19:19 +0200
committerJonas Smedegaard <dr@jones.dk>2010-10-01 17:19:19 +0200
commit32bf65dd9300863bc7208eabf03f2ecba15daf5c (patch)
treed62cf54a559d6d33ef41373e116139eec117eb5f /perl/IkiWiki/Plugin
parent81d6a832dc0590cf38d6ca05ed092e8d97ce49f6 (diff)
parentffb692916ddc3f5ba928f4a45acd1af6ee9a586c (diff)
Merge branch '_da' into allinone-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;