--- loncom/xml/scripttag.pm 2003/06/08 21:03:19 1.95
+++ loncom/xml/scripttag.pm 2003/08/11 20:07:20 1.100
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Script Vars
";
}
} elsif ($target eq "edit" ) {
#&Apache::run::run($bodytext,$safeeval);
@@ -283,14 +304,15 @@ sub end_window {
if ($target eq 'web') {
my $output=&Apache::lonxml::endredirection;
$output =~ s/[\n\r]/ /g;
- $output=&HTML::Entities::encode($output,'<>&"\'');
+# $output = &HTML::Entities::encode($output,'<>&"\'');
+ $output =~ s/\'/\\\'/g;
my $linktext= &Apache::lonxml::get_param('linktext',$parstack,$safeeval);
if (!$linktext) { $linktext='*'; }
my $width= &Apache::lonxml::get_param('width',$parstack,$safeeval);
if (!$width) { $width='500'; }
my $height= &Apache::lonxml::get_param('height',$parstack,$safeeval);
if (!$height) { $height='200'; }
- $result = "newwindow $output