[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonhtmlcommon.pm

raeburn raeburn at source.lon-capa.org
Mon Oct 21 11:06:06 EDT 2024


raeburn		Mon Oct 21 15:06:06 2024 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonhtmlcommon.pm 
  Log:
  - For 2.11
    Backport 1.415
  
  
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.358.2.22 loncom/interface/lonhtmlcommon.pm:1.358.2.23
--- loncom/interface/lonhtmlcommon.pm:1.358.2.22	Tue Jul  2 22:03:11 2024
+++ loncom/interface/lonhtmlcommon.pm	Mon Oct 21 15:06:06 2024
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.358.2.22 2024/07/02 22:03:11 raeburn Exp $
+# $Id: lonhtmlcommon.pm,v 1.358.2.23 2024/10/21 15:06:06 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1783,7 +1783,7 @@
                 {
                     regex = new RegExp ("\\p{Dash}", "gu");
                 }
-                catch (e) { regex = new RegExp ("[\\u058A\\u05BE\\u1400\\u1806\\u2010-\\u2015\\u2E3A\\u2E3B\\u2E5D\\u301C\\uFE58\\uFE63\\uFF0D]","g"); }
+                catch (e) { regex = new RegExp ("[\\u058A\\u05BE\\u1400\\u1806\\u2010-\\u2015\\u2212\\u2E3A\\u2E3B\\u2E5D\\u301C\\uFE58\\uFE63\\uFF0D]","g"); }
                 p = p.replace(regex,'-');
                 putInText(p);
             });




More information about the LON-CAPA-cvs mailing list