[LON-CAPA-cvs] cvs: loncom /homework chemresponse.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 16 Oct 2003 14:56:27 -0000


albertel		Thu Oct 16 10:56:27 2003 EDT

  Modified files:              
    /loncom/homework	chemresponse.pm 
  Log:
  - need to use "
  
  
Index: loncom/homework/chemresponse.pm
diff -u loncom/homework/chemresponse.pm:1.13 loncom/homework/chemresponse.pm:1.14
--- loncom/homework/chemresponse.pm:1.13	Mon Oct  6 17:39:51 2003
+++ loncom/homework/chemresponse.pm	Thu Oct 16 10:56:27 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # chemical equation style response
 #
-# $Id: chemresponse.pm,v 1.13 2003/10/06 21:39:51 albertel Exp $
+# $Id: chemresponse.pm,v 1.14 2003/10/16 14:56:27 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -51,7 +51,7 @@
 JMESECTION
     }
 
-    if ($molecule) { $molecule="<param name='jme' value='$molecule' />"; }
+    if ($molecule) { $molecule='<param name="jme" value="'.$molecule.'" />'; }
     my $body=<<CHEMPAGE;
 <html>
 <head>