--- loncom/interface/lonspeller.pm 2006/03/21 20:19:41 1.13 +++ loncom/interface/lonspeller.pm 2006/03/23 23:43:13 1.15 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Interface routines for Aspell # -# $Id: lonspeller.pm,v 1.13 2006/03/21 20:19:41 albertel Exp $ +# $Id: lonspeller.pm,v 1.15 2006/03/23 23:43:13 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -68,11 +68,13 @@ sub textsection { if (($suggestions) && (!$insidelink)) { my $start_page= &Apache::loncommon::start_page('Speller Suggestions',undef, - {'only_body' => 1, - 'js_ready' => 1, - 'bgcolor' => '#FFFFFF'}); + {'only_body' => 1, + 'js_ready' => 1, + 'html_encode' => 1, + 'bgcolor' => '#FFFFFF'}); my $end_page= - &Apache::loncommon::end_page({'js_ready' => 1}); + &Apache::loncommon::end_page({'js_ready' => 1, + 'html_encode' => 1,}); $output.=''. + my $start_page = + &Apache::loncommon::start_page('Spell Checker',undef, + {'only_body' => 1, + 'bgcolor' => '#DDDDDD'}); + $r->print($start_page. &Apache::lontexconvert::msgtexconverted( &markeduptext($env{'form.text'})). &Apache::loncommon::end_page());