From: Stephen L Johnson Date: Fri, 10 May 2002 14:43:09 +0000 (+0000) Subject: Switched !!DETAILEDHTML!! to use
 
to preserve formatting instead of s... X-Git-Tag: spong-2_7_7~8 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=303380670c6c841be8085137d123c0757d0634f3;p=spong.git Switched !!DETAILEDHTML!! to use
 
to preserve formatting instead of s/\n/
\n/gm --- 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; }