From 86cbb880ba9638924e9c7a641d74f7ea887f38f5 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 1 Oct 2010 17:19:09 +0200 Subject: Fix make space after hash optional in plugin h1title. --- perl/IkiWiki/Plugin/h1title.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl/IkiWiki/Plugin/h1title.pm b/perl/IkiWiki/Plugin/h1title.pm index be29216..0f4dce3 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; -- cgit v1.2.3 ass='logo' rowspan='2'>cgit logo index : notmuch
Unnamed repository; edit this file 'description' to name the repository.Jonas Smedegaard
summaryrefslogtreecommitdiff
path: root/tags/57/5a/20170317140259.BC19353C7@lxp5.free-owl.de/unread
diff options
context:
space:
mode:
Diffstat (limited to 'tags/57/5a/20170317140259.BC19353C7@lxp5.free-owl.de/unread')
-rw-r--r--tags/57/5a/20170317140259.BC19353C7@lxp5.free-owl.de/unread0
1 files changed, 0 insertions, 0 deletions