--- loncom/xml/scripttag.pm 2004/02/10 18:58:26 1.107 +++ loncom/xml/scripttag.pm 2004/02/12 17:34:24 1.109 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Script Vars
"; + $result.= "');newWindow.document.close();}Script Vars
"; } } elsif ($target eq "edit" ) { #&Apache::run::run($bodytext,$safeeval); @@ -138,7 +139,7 @@ sub start_script { } else { if ($target ne "meta") { $result = $token->[4]; - my $bodytext=&Apache::lonxml::get_all_text_unblanaced("/script",$parser); + my $bodytext=&Apache::lonxml::get_all_text_unbalanced("/script",$parser); $result.=$bodytext; } }