--- loncom/homework/chemresponse.pm 2005/05/26 21:26:25 1.56
+++ loncom/homework/chemresponse.pm 2005/06/26 22:18:32 1.57
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# chemical equation style response
#
-# $Id: chemresponse.pm,v 1.56 2005/05/26 21:26:25 albertel Exp $
+# $Id: chemresponse.pm,v 1.57 2005/06/26 22:18:32 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -81,6 +81,12 @@ JMESECTION
}
if ($molecule) { $molecule=''; }
+ my $insert_answer;
+ if ($shown_text ne '') {
+ $insert_answer=
+ '';
+ }
+
my $body=<
@@ -110,11 +116,11 @@ $molecule
JME Editor courtesy of Peter Ertl, Novartis