--- loncom/xml/lonxml.pm 2013/06/04 22:20:20 1.541
+++ loncom/xml/lonxml.pm 2013/10/29 21:01:21 1.544
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.541 2013/06/04 22:20:20 raeburn Exp $
+# $Id: lonxml.pm,v 1.544 2013/10/29 21:01:21 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -651,7 +651,7 @@ sub init_safespace {
my ($target,$safeeval,$safehole,$safeinit) = @_;
$safeeval->reval('use LaTeX::Table;');
$safeeval->deny_only(':dangerous');
- $safeeval->reval('use Math::Complex;');
+ $safeeval->reval('use LONCAPA::LCMathComplex;');
$safeeval->permit_only(":default");
$safeeval->permit("entereval");
$safeeval->permit(":base_math");
@@ -1510,7 +1510,7 @@ sub renderingoptions {
}
sub inserteditinfo {
- my ($filecontents,$filetype,$filename,$symb,$itemtitle,$folderpath,$uri) = @_;
+ my ($filecontents,$filetype,$filename,$symb,$itemtitle,$folderpath,$uri,$action) = @_;
$filecontents = &HTML::Entities::encode($filecontents,'<>&"');
my $xml_help = '';
my $initialize='';
@@ -1596,7 +1596,7 @@ FULLPAGE
my $editfooter=(<