From 303380670c6c841be8085137d123c0757d0634f3 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Fri, 10 May 2002 14:43:09 +0000 Subject: [PATCH] Switched !!DETAILEDHTML!! to use
 
to preserve formatting instead of s/\n/
\n/gm --- src/spong-message.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/spong-message.pl b/src/spong-message.pl index 5bc76ef..2b05e8a 100755 --- a/src/spong-message.pl +++ b/src/spong-message.pl @@ -12,7 +12,7 @@ # (2) Added rules based paging (Stephen Johnson Nov 14, 1998) # (3) Added checks against Acks and downtime (Stephen Johnson Mar 17, 1999) # -# $Id: spong-message.pl,v 1.35 2002/05/08 15:11:02 sljohnson Exp $ +# $Id: spong-message.pl,v 1.36 2002/05/10 14:43:09 sljohnson Exp $ use lib "@@LIBDIR@@"; @@ -849,8 +849,7 @@ sub fill_in { $str =~ s/!!DATETIME!!/$tmp/g; } if ($str =~ /!!DETAILEDHTML!!/) { - $tmp = $message; - $tmp =~ s/\n/
\n/mg; + $tmp = "
" . $message . "
"; $str =~ s/!!DETAILEDHTML!!/$tmp/g; } -- 2.30.2