[LON-CAPA-cvs] cvs: loncom /imspackages imsimport.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 27 Mar 2006 19:05:15 -0000


albertel		Mon Mar 27 14:05:15 2006 EDT

  Modified files:              
    /loncom/imspackages	imsimport.pm 
  Log:
  - the js_ready argument to start/end_page already does this escaping
  
  
Index: loncom/imspackages/imsimport.pm
diff -u loncom/imspackages/imsimport.pm:1.17 loncom/imspackages/imsimport.pm:1.18
--- loncom/imspackages/imsimport.pm:1.17	Mon Mar 27 13:39:55 2006
+++ loncom/imspackages/imsimport.pm	Mon Mar 27 14:05:15 2006
@@ -46,8 +46,6 @@
 					'js_ready'    => 1,});
     my $end_page = 
 	&Apache::loncommon::end_page({'js_ready' => 1,});
-    $start_page =~ s/\n/\\n/g;
-    $end_page =~ s/\n/\\n/g;
 
     $$jsref = <<"END_OF_ONE";
 function verify() {