[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
foxr
lon-capa-cvs@mail.lon-capa.org
Mon, 03 Jul 2006 10:25:07 -0000
foxr Mon Jul 3 06:25:07 2006 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
Go back to using latex_special_symbols for username cleanup..now need to
fix that function to work right in header mode.
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.452 loncom/interface/lonprintout.pm:1.453
--- loncom/interface/lonprintout.pm:1.452 Fri Jun 30 17:37:05 2006
+++ loncom/interface/lonprintout.pm Mon Jul 3 06:25:07 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.452 2006/06/30 21:37:05 albertel Exp $
+# $Id: lonprintout.pm,v 1.453 2006/07/03 10:25:07 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -702,8 +702,7 @@
if (!defined($udom)) { $udom=$env{'user.domain'}; }
my $plainname=&Apache::loncommon::plainname($uname,$udom);
if ($plainname=~/^\s*$/) { $plainname=$uname.'@'.$udom; }
- # $plainname=&Apache::lonxml::latex_special_symbols($plainname,'header');
- $plainname = &escape_LaTeX($plainname);
+ $plainname=&Apache::lonxml::latex_special_symbols($plainname,'header');
return $plainname;
}