summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-10-04 18:24:38 +0200
committerJonas Smedegaard <dr@jones.dk>2010-10-04 18:24:38 +0200
commitdb108ae4e6430f302f3045ff13c0ff05ff8f0234 (patch)
tree329e9c4cc1b4fbfc97dfa1d6641bed4272aa6b38 /perl
parentcd34284562d3451c58a045d11c9b14c41b947d1e (diff)
parentaec936402835fc011536be85e6af058dcfb4f924 (diff)
Merge branch 'master' into _clean
Diffstat (limited to 'perl')
-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 2d5d05f..1a16b1f 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;