--- loncom/interface/lontemplate.pm 2009/10/16 13:47:40 1.39 +++ loncom/interface/lontemplate.pm 2009/11/26 05:21:43 1.40 @@ -1,7 +1,7 @@ # The LearningOnline Network # "Template" Functions to generate html output # -# $Id: lontemplate.pm,v 1.39 2009/10/16 13:47:40 raeburn Exp $ +# $Id: lontemplate.pm,v 1.40 2009/11/26 05:21:43 faziophi Exp $ # # Copyright Michigan State University Board of Trustees # @@ -62,7 +62,9 @@ sub print_aboutme_content_template { 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/(http\:\/\/[^\s]+)/\\$1\<\/tt\>\<\/a\>/g; if ($allowed) {