summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-10-04 18:24:35 +0200
committerJonas Smedegaard <dr@jones.dk>2013-10-13 00:47:52 +0200
commit853edd3be5817357db2c3f313d3ea0e42cca6c9b (patch)
treee1296b3cb0b7331630d39acadd53f3692170f7c4
parent05a730e0530c0a892f5ce7f4f1a4495f1ca2475c (diff)
Really really fix make space after hash optional in plugin h1title.
-rw-r--r--IkiWiki/Plugin/h1title.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/h1title.pm b/IkiWiki/Plugin/h1title.pm
index 2d5d05f..1a16b1f 100644
--- a/IkiWiki/Plugin/h1title.pm
+++ b/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;