--- loncom/interface/lonsyllabus.pm 2004/06/11 16:28:14 1.36 +++ loncom/interface/lonsyllabus.pm 2004/07/27 23:35:34 1.38 @@ -1,7 +1,7 @@ # The LearningOnline Network # Syllabus # -# $Id: lonsyllabus.pm,v 1.36 2004/06/11 16:28:14 sakharuk Exp $ +# $Id: lonsyllabus.pm,v 1.38 2004/07/27 23:35:34 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -37,6 +37,7 @@ use Apache::lonfeedback; use Apache::lonannounce; use Apache::lonlocal; use Apache::lonhtmlcommon; +use Apache::lonspeller(); sub handler { my $r = shift; @@ -122,7 +123,7 @@ ENDDOCUMENT if ($target ne 'tex') { $r->print(''); } else { - $r->print('\begin{tabular}{|c|c|}\hline'); + $r->print('\begin{tabular}{|p{0.45\textwidth}|p{0.45\textwidth}|}\hline'); } foreach my $element (sort keys %coursepersonnel) { if ($target ne 'tex') { @@ -286,6 +287,9 @@ ENDDOCUMENT $message=~s/\n/\
/g; $message =~s/(https*\:\/\/[^\s]+)/\\$1\<\/tt\>\<\/a\>/g; + if ($allowed) { + $message=&Apache::lonspeller::markeduptext($message); + } $message=&Apache::lontexconvert::msgtexconverted($message); if ($target ne 'tex') { $r->print('

'.$syllabusfields{$_}.'

'.