[LON-CAPA-cvs] cvs: loncom(version_2_7_X) /xml lonxml.pm
raeburn
lon-capa-cvs-allow@mail.lon-capa.org
Fri, 24 Oct 2008 19:36:40 -0000
raeburn Fri Oct 24 19:36:40 2008 EDT
Modified files: (Branch: version_2_7_X)
/loncom/xml lonxml.pm
Log:
Backport 1.487.
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.484.2.1 loncom/xml/lonxml.pm:1.484.2.2
--- loncom/xml/lonxml.pm:1.484.2.1 Sat Sep 20 01:17:58 2008
+++ loncom/xml/lonxml.pm Fri Oct 24 19:36:40 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.484.2.1 2008/09/20 01:17:58 raeburn Exp $
+# $Id: lonxml.pm,v 1.484.2.2 2008/10/24 19:36:40 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -505,11 +505,13 @@
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;