From 801424796b34650ca39c1807494789d1607573d0 Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Sat, 16 Oct 2004 16:18:30 +0000 Subject: [PATCH] (HeadersRule): Add code for horizontal rules. --- modules/headers.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/headers.pl b/modules/headers.pl index dc4bf456..ddea5aa8 100644 --- a/modules/headers.pl +++ b/modules/headers.pl @@ -16,7 +16,7 @@ # 59 Temple Place, Suite 330 # Boston, MA 02111-1307 USA -$ModulesDescription .= '

$Id: headers.pl,v 1.1 2004/10/04 21:10:56 as Exp $

'; +$ModulesDescription .= '

$Id: headers.pl,v 1.2 2004/10/16 16:18:30 as Exp $

'; push(@MyRules, \&HeadersRule); @@ -43,6 +43,8 @@ sub HeadersRule { } else { return CloseHtmlEnvironments() . "

$2

"; } + } elsif ($bol && m/\G(\s*\n)*----+[ \t]*\n?/cg) { + return CloseHtmlEnvironments() . $q->hr(); } return undef; }