--- loncom/homework/default_homework.lcpm 2004/10/21 02:43:34 1.91 +++ loncom/homework/default_homework.lcpm 2005/02/17 21:42:37 1.92 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # used by lonxml::xmlparse() as input variable $safeinit to Apache::run::run() # -# $Id: default_homework.lcpm,v 1.91 2004/10/21 02:43:34 albertel Exp $ +# $Id: default_homework.lcpm,v 1.92 2005/02/17 21:42:37 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -560,7 +560,7 @@ sub chemparse { } # get rid of trailing space $formula =~ s/(\ \;| )$//; - + if ($external::target eq 'web') { return $formula; } return &xmlparse($formula); }