--- loncom/xml/lonxml.pm 2010/05/03 14:43:07 1.508 +++ loncom/xml/lonxml.pm 2010/06/05 19:37:01 1.509 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # XML Parser Module # -# $Id: lonxml.pm,v 1.508 2010/05/03 14:43:07 onken Exp $ +# $Id: lonxml.pm,v 1.509 2010/06/05 19:37:01 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -476,6 +476,10 @@ sub inner_xmlparse { } if (($ENV{'QUERY_STRING'}) && ($target eq 'web')) { $finaloutput=&afterburn($finaloutput); + } + if ($target eq 'modified') { +# if modfied, handle startpart and endpart + $finaloutput=~s/\]*\>(.*)\]*\>/$1<\/part>/gs; } return $finaloutput; }