From: Stephen L Johnson Date: Mon, 26 Mar 2001 19:33:07 +0000 (+0000) Subject: added wml_escape() for summary line in display_wml X-Git-Tag: spong-2_7_4~9 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82a1724e0fec925c03f1578d90dd79df10c9a016;p=spong.git added wml_escape() for summary line in display_wml --- diff --git a/src/lib/Spong/Service.pm b/src/lib/Spong/Service.pm index 9c0216b..3fd5951 100755 --- a/src/lib/Spong/Service.pm +++ b/src/lib/Spong/Service.pm @@ -331,7 +331,7 @@ sub display_wml { print "
",$self->name()," ",$self->color(),"\n"; print "
Updated: ", POSIX::strftime($main::DATETIMEFMT,localtime($self->rtime())),"\n"; - print "
",$self->summary(),"\n"; + print "
",wml_esacpe($self->summary()),"\n"; print "

\n"; foreach $line ( split /\r?\n/s,$self->message() ) { print "
",wml_escape($line),"\n";