--- loncom/xml/londefdef.pm 2004/08/25 20:16:44 1.231.2.2 +++ loncom/xml/londefdef.pm 2004/09/15 20:30:43 1.231.2.3 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.231.2.2 2004/08/25 20:16:44 albertel Exp $ +# $Id: londefdef.pm,v 1.231.2.3 2004/09/15 20:30:43 albertel Exp $ # # # Copyright Michigan State University Board of Trustees @@ -2673,7 +2673,7 @@ sub start_allow { $src=&Apache::lonnet::filelocation($Apache::lonxml::pwd[-1],$src); $Apache::lonxml::extlinks[$#Apache::lonxml::extlinks+1]= &Apache::lonnet::clutter($src); - &image_replication($src); + if ($target eq 'tex') { &image_replication($src); } my $result; if ($target eq 'edit') { $result .=&Apache::edit::tag_start($target,$token);