--- loncom/interface/lonsyllabus.pm 2003/02/10 20:03:13 1.12 +++ loncom/interface/lonsyllabus.pm 2003/02/20 19:41:26 1.13 @@ -1,7 +1,7 @@ # The LearningOnline Network # Syllabus # -# $Id: lonsyllabus.pm,v 1.12 2003/02/10 20:03:13 www Exp $ +# $Id: lonsyllabus.pm,v 1.13 2003/02/20 19:41:26 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -174,11 +174,7 @@ ENDDOCUMENT my $embstyle=&Apache::loncommon::fileembstyle($curfext); if (($embstyle eq 'ssi') || ($curfext=~/\/$/)) { # make ssi call and remove everything but the body contents - $output= - ($filelink=~/^http\:/?&Apache::lonnet::externalssi($filelink): - &Apache::lonnet::ssi($filelink)); - $output=~s/^.*\]*\>//si; - $output=~s/\<\/body\s*\>.*$//si; + $output=&Apache::lonnet::ssi_body($filelink); } elsif ($embstyle eq 'img') { # embed as an image $output='';