--- loncom/xml/lonxml.pm 2013/05/12 13:32:16 1.531.2.8
+++ loncom/xml/lonxml.pm 2013/11/20 02:38:26 1.531.2.12
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.531.2.8 2013/05/12 13:32:16 raeburn Exp $
+# $Id: lonxml.pm,v 1.531.2.12 2013/11/20 02:38:26 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -745,7 +745,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");
@@ -1604,7 +1604,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='';
@@ -1690,7 +1690,7 @@ FULLPAGE
my $editfooter=(<