--- loncom/interface/lonsimplepage.pm 2004/06/03 14:28:39 1.21 +++ loncom/interface/lonsimplepage.pm 2005/02/17 08:29:43 1.23 @@ -1,7 +1,7 @@ # The LearningOnline Network # Simple Page Editor # -# $Id: lonsimplepage.pm,v 1.21 2004/06/03 14:28:39 www Exp $ +# $Id: lonsimplepage.pm,v 1.23 2005/02/17 08:29:43 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -46,8 +46,9 @@ sub handler { my $target=$ENV{'form.grade_target'}; # ------------------------------------------------------------ Print the screen if ($target ne 'tex') { + my $html=&Apache::lonxml::xmlbegin(); $r->print(< +$html The LearningOnline Network with CAPA ENDDOCUMENT @@ -179,6 +180,9 @@ ENDDOCUMENT $message =~s/(https*\:\/\/[^\s]+)/\\$1\<\/tt\>\<\/a\>/g; $message=&Apache::lontexconvert::msgtexconverted($message); + if ($allowed) { + $message=&Apache::lonspeller::markeduptext($message); + } unless ($_ eq 'aaa_title') { if (($_ ne 'bbb_content') || ($allowed)) { if ($target ne 'tex') {