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 | 4711b9011d3133688a85ab8e47b264bc7359d9ba (patch) | |
tree | 81e88f0a7b0d6634eebac0b5f7dbc2923622925f | |
parent | 1d4775e01b9f1fbd037a6c62996c59068290a50e (diff) | |
parent | 736da934d7f288c0a5531fae9478750a19e18490 (diff) |
Merge branch '_multilang' into multilang
-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; |