--- loncom/homework/chemresponse.pm 2003/10/17 22:26:38 1.18 +++ loncom/homework/chemresponse.pm 2003/10/18 07:24:35 1.19 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # chemical equation style response # -# $Id: chemresponse.pm,v 1.18 2003/10/17 22:26:38 albertel Exp $ +# $Id: chemresponse.pm,v 1.19 2003/10/18 07:24:35 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -208,7 +208,9 @@ sub start_organicstructure { my $molecule=&Apache::lonxml::get_param('molecule',$parstack,$safeeval); my $options=&Apache::lonxml::get_param('options',$parstack,$safeeval); my $id=time.'_'.int(rand(1000)); - $result=""; + $result=" &Apache::lonnet::escape($molecule), 'cgi.'.$id.'.PNG' => 1,