--- loncom/interface/lonindexer.pm 2003/02/13 23:06:10 1.60 +++ loncom/interface/lonindexer.pm 2003/02/20 19:41:26 1.61 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.60 2003/02/13 23:06:10 albertel Exp $ +# $Id: lonindexer.pm,v 1.61 2003/02/20 19:41:26 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -843,9 +843,7 @@ sub display_line { my $output=''; my $embstyle=&Apache::loncommon::fileembstyle($curfext); if ($embstyle eq 'ssi') { - $output=&Apache::lonnet::ssi($filelink); - $output=~s/^.*\]*\>//si; - $output=~s/\<\/body\s*\>.*$//si; + $output=&Apache::lonnet::ssi_body($filelink); $output=''.$output.''; } elsif ($embstyle eq 'img') { $output='';