From 009401ceae01ef736788bb263b623ecc2280debc Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Sun, 22 Feb 2004 13:38:12 +0000 Subject: [PATCH] don't eat whitespace --- modules/headlines.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/headlines.pl b/modules/headlines.pl index 352445f7..1aa23a3a 100644 --- a/modules/headlines.pl +++ b/modules/headlines.pl @@ -18,7 +18,7 @@ use vars qw($HeadlineNumber); -$ModulesDescription .= '

$Id: headlines.pl,v 1.2 2004/02/22 13:20:03 as Exp $

'; +$ModulesDescription .= '

$Id: headlines.pl,v 1.3 2004/02/22 13:38:12 as Exp $

'; push(@MyRules, \&HeadlinesRule); @@ -27,7 +27,7 @@ push(@MyRules, \&HeadlinesRule); $HeadlineNumber = 20; sub HeadlinesRule { - if (m/\G(\<headlines\>[ \t]*\n?)/gci) { + if (m/\G(\<headlines\>)/gci) { Dirty($1); HeadlinesPrint(); }