--- loncom/xml/lonxml.pm 2003/05/28 21:05:33 1.258
+++ loncom/xml/lonxml.pm 2003/05/29 18:41:04 1.259
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.258 2003/05/28 21:05:33 albertel Exp $
+# $Id: lonxml.pm,v 1.259 2003/05/29 18:41:04 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -523,6 +523,7 @@ sub inner_xmlparse {
'';
&Apache::lonxml::newparser($pars,\$string);
$Apache::lonxml::style_values=$$parstack[-1];
+ $Apache::lonxml::style_end_values=$$parstack[-1];
} else {
$result = &callsub("start_$token->[1]", $target, $token, $stack,
$parstack, $pars, $safeeval, $style_for_target);
@@ -534,7 +535,8 @@ sub inner_xmlparse {
my $string=$$style_for_target{'/'.$token->[1]}.
'';
&Apache::lonxml::newparser($pars,\$string);
- $Apache::lonxml::style_values=$$parstack[-1];
+ $Apache::lonxml::style_values=$Apache::lonxml::style_end_values;
+ $Apache::lonxml::style_end_values='';
$dontpop=1;
} else {
#clear out any tags that didn't end