--- loncom/interface/lonbulletin.pm 2005/04/07 06:56:22 1.29
+++ loncom/interface/lonbulletin.pm 2005/06/06 02:29:46 1.30
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Bulletin Board Handler
#
-# $Id: lonbulletin.pm,v 1.29 2005/04/07 06:56:22 albertel Exp $
+# $Id: lonbulletin.pm,v 1.30 2005/06/06 02:29:46 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -169,8 +169,8 @@ ENDDOCUMENT
foreach (sort keys %syllabusfields) {
if (($syllabus{$_}) || ($allowed)) {
my $message=$syllabus{$_};
- $message=~s/\n/\
/g;
- $message
+ &Apache::lonfeedback::newline_to_br(\$message);
+ $message
=~s/(https*\:\/\/[^\s]+)/\\$1\<\/tt\>\<\/a\>/g;
$message=&Apache::lontexconvert::msgtexconverted($message);
if ($allowed) {