summaryrefslogtreecommitdiff
path: root/perl/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-10-04 16:50:49 +0200
committerJonas Smedegaard <dr@jones.dk>2010-10-04 16:50:49 +0200
commit3f1ca557bfa5dc9e196061a06e9c0b3b040001f5 (patch)
tree9510b52e52d17597a3e90c5436ecd092a889942b /perl/IkiWiki/Plugin
parent9f521886b4a18c811c403205da78a66a50e2b0f5 (diff)
parent391dd3b9bb3ba529aaf69157690b45192df5c95b (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 0f4dce3..2d5d05f 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;