--- loncom/xml/scripttag.pm 2000/09/14 20:57:49 1.14
+++ loncom/xml/scripttag.pm 2000/09/19 19:10:01 1.16
@@ -15,6 +15,7 @@ sub BEGIN {
sub start_script {
my ($target,$token,$parstack,$parser,$safeeval)=@_;
my $result="";
+ $safeeval->share('$Apache::scripttag::start_script::result');
# my $bodytext=$$parser[$#$parser]->get_text("/script");
my $bodytext=&Apache::lonxml::get_all_text("script",$$parser[$#$parser]);
@@ -23,7 +24,7 @@ sub start_script {
}
# print "
script runs $bodytext";
- $result = &Apache::run::run($bodytext,$safeeval);
+ &Apache::run::run($bodytext,$safeeval);
if ($target eq "edit" ) {
$result= "
<$token->[1]> output:
$bodytext
Source:
";