[LON-CAPA-cvs] cvs: loncom(version_1_2_X) /xml londefdef.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 15 Sep 2004 20:30:44 -0000


albertel		Wed Sep 15 16:30:44 2004 EDT

  Modified files:              (Branch: version_1_2_X)
    /loncom/xml	londefdef.pm 
  Log:
  - backport 1.240
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.231.2.2 loncom/xml/londefdef.pm:1.231.2.3
--- loncom/xml/londefdef.pm:1.231.2.2	Wed Aug 25 16:16:44 2004
+++ loncom/xml/londefdef.pm	Wed Sep 15 16:30:43 2004
@@ -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 @@
     $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);