[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 08 Jan 2007 19:07:58 -0000
albertel Mon Jan 8 14:07:58 2007 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
- support unicode en-dash
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.493 loncom/interface/lonprintout.pm:1.494
--- loncom/interface/lonprintout.pm:1.493 Mon Jan 8 05:57:41 2007
+++ loncom/interface/lonprintout.pm Mon Jan 8 14:07:58 2007
@@ -2,7 +2,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.493 2007/01/08 10:57:41 foxr Exp $
+# $Id: lonprintout.pm,v 1.494 2007/01/08 19:07:58 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -490,7 +490,7 @@
$result =~ s/&\#147;/\`\`/g;
$result =~ s/&\#148;/\'\'/g;
$result =~ s/&\#149;/\\ensuremath\{\\bullet\}/g;
- $result =~ s/&\#150;/--/g;
+ $result =~ s/&(\#150|\#8211);/--/g;
$result =~ s/&\#151;/---/g;
$result =~ s/&\#152;/\\ensuremath\{\\sim\}/g;
$result =~ s/&\#153;/\\texttrademark /g;