diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-10-04 16:50:49 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-10-04 16:50:49 +0200 |
commit | c6d5db3ef0b7645e0269bfda0f6a220b13730e99 (patch) | |
tree | 1e43856fb723e64f5d7dc2e9716137811bba258e /perl | |
parent | b9bba849761d898ce8753a2093fadfeed6a6bf47 (diff) | |
parent | cd34284562d3451c58a045d11c9b14c41b947d1e (diff) |
Merge branch '_clean' into allinone
Diffstat (limited to 'perl')
-rw-r--r-- | perl/IkiWiki/Plugin/h1title.pm | 2 |
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; |