--- rat/lonpage.pm 2006/12/12 18:49:27 1.76 +++ rat/lonpage.pm 2007/05/22 00:26:31 1.77 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Page Handler # -# $Id: lonpage.pm,v 1.76 2006/12/12 18:49:27 albertel Exp $ +# $Id: lonpage.pm,v 1.77 2007/05/22 00:26:31 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -270,7 +270,7 @@ sub handler { } } my $output=Apache::lonnet::ssi($src,%posthash); - $output=~s|//(\s*)?\s||gs; + $output=~s|//(\s*)?\s||gs; if ($target eq 'tex') { $output =~ s/^([^&]+)\\begin{document}//; $output =~ s/\\end{document}//; @@ -500,13 +500,11 @@ sub handler { '.pageseparators'} eq 'yes') { unless($target eq 'tex') { $r->print('
'); - } else { - $r->print('\hline'); - } + } } } elsif ($cellemb{$rid} eq 'img') { $r->print('>'.$metainfo.''); + $hash{'src_'.$rid}.'" />'); } elsif ($cellemb{$rid} eq 'emb') { $r->print('>'.$metainfo.'');