summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-10-04 18:24:39 +0200
committerJonas Smedegaard <dr@jones.dk>2010-10-04 18:24:39 +0200
commit0954b3125e0b7ccec91c5b2c628ab327f6473feb (patch)
treecadb192f783da878782e9d03a31970f5dcd772f8
parent67e59baf7b195b8ee58ae744141669e8019cb6ba (diff)
parent5b718600c4cc9e664cca76ce921753baf4efc2b7 (diff)
Merge branch '_nb' into allinone-nb
-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;