[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm

foxr lon-capa-cvs-allow@mail.lon-capa.org
Mon, 28 Jan 2008 11:40:44 -0000


foxr		Mon Jan 28 06:40:44 2008 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  BZ5554 - Add support for ldquo, rdquo entities and their
  decimal equivalent entities.
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.512 loncom/interface/lonprintout.pm:1.513
--- loncom/interface/lonprintout.pm:1.512	Mon Jan 21 05:24:23 2008
+++ loncom/interface/lonprintout.pm	Mon Jan 28 06:40:42 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.512 2008/01/21 10:24:23 foxr Exp $
+# $Id: lonprintout.pm,v 1.513 2008/01/28 11:40:42 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -755,6 +755,13 @@
     $result =~ s/&\#8600;/\\ensuremath\{\\searrow\}/g;
     $result =~ s/&\#8601;/\\ensuremath\{\\swarrow\}/g;
     $result =~ s/&\#8598;/\\ensuremath\{\\nwarrow\}/g;
+
+    # Left/right quotations:
+
+    $result =~ s/&(ldquo|#8220);/\`\`/g;
+    $result =~ s/&(rdquo|#8221);/\'\'/g;
+
+
     return $result;
 }