--- loncom/interface/lonbulletin.pm 2009/11/19 18:05:32 1.49 +++ loncom/interface/lonbulletin.pm 2009/11/30 11:22:54 1.51 @@ -1,7 +1,7 @@ # The LearningOnline Network # Bulletin Board Handler # -# $Id: lonbulletin.pm,v 1.49 2009/11/19 18:05:32 bisitz Exp $ +# $Id: lonbulletin.pm,v 1.51 2009/11/30 11:22:54 wenzelju Exp $ # # Copyright Michigan State University Board of Trustees # @@ -249,7 +249,9 @@ sub handler { foreach my $field (sort(keys(%syllabusfields))) { if (($syllabus{$field}) || ($allowed)) { my $message=$syllabus{$field}; - &Apache::lonfeedback::newline_to_br(\$message); + if (!&Apache::lonfeedback::contains_block_html($message)) { + &Apache::lonfeedback::newline_to_br(\$message); + } $message =~s/(https*\:\/\/[^\s]+)/\\$1\<\/tt\>\<\/a\>/g; if ($allowed) {