--- loncom/xml/lonxml.pm 2008/09/11 14:47:24 1.486 +++ loncom/xml/lonxml.pm 2008/10/24 18:23:22 1.487 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # XML Parser Module # -# $Id: lonxml.pm,v 1.486 2008/09/11 14:47:24 bisitz Exp $ +# $Id: lonxml.pm,v 1.487 2008/10/24 18:23:22 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -505,11 +505,13 @@ sub inner_xmlparse { if (!$Apache::lonxml::usestyle) { $extras=$Apache::lonxml::style_values; } - if ( $#$parstack > -1 ) { - $result=&Apache::run::evaluate($result,$safeeval,$extras.$$parstack[-1]); - } else { - $result= &Apache::run::evaluate($result,$safeeval,$extras); - } + if ($token->[1] ne 'translated') { + if ( $#$parstack > -1 ) { + $result=&Apache::run::evaluate($result,$safeeval,$extras.$$parstack[-1]); + } else { + $result= &Apache::run::evaluate($result,$safeeval,$extras); + } + } } $Apache::lonxml::post_evaluate=1;