From: Barijaona Ramaholimihaso Date: Thu, 13 Sep 2007 02:27:35 +0000 (+0000) Subject: More lenient parsing of the meta line X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fblosxom-plugins.git;a=commitdiff_plain;h=d9a9b6210cd0d4877d76869e275ac36dc513488a More lenient parsing of the meta line --- diff --git a/general/meta b/general/meta index 0872385..95994de 100644 --- a/general/meta +++ b/general/meta @@ -26,7 +26,7 @@ sub story { foreach ( split /\n/, $$body_ref ) { /^\s*$/ and $in_header = 0 and next; if ( $in_header ) { - my($key, $value) = m!^$meta_prefix(.+?):\s*(.+)$!; + my($key, $value) = m!^$meta_prefix(.+?)\s*:\s*(.+)$!; $key =~ /^\w+$/ and push(@keys,$key) and $$key = $value and next; } $body .= $_ . "\n";