--- loncom/interface/lonsyllabus.pm 2009/12/01 13:34:54 1.102 +++ loncom/interface/lonsyllabus.pm 2009/12/03 02:13:28 1.103 @@ -1,7 +1,7 @@ # The LearningOnline Network # Syllabus # -# $Id: lonsyllabus.pm,v 1.102 2009/12/01 13:34:54 wenzelju Exp $ +# $Id: lonsyllabus.pm,v 1.103 2009/12/03 02:13:28 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -421,7 +421,7 @@ ENDSCRIPT if (!&Apache::lonfeedback::contains_block_html($message)) { &Apache::lonfeedback::newline_to_br(\$message); } - $message =~s|(https?\://[^\s]+)|$1|g; + $message=&Apache::lonhtmlcommon::raw_href_to_link($message); if ($allowed) { $message=&Apache::lonspeller::markeduptext($message); }