[GRASS-SVN] r59901 - grass/trunk/tools

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 22 12:49:09 PDT 2014


Author: neteler
Date: 2014-04-22 12:49:09 -0700 (Tue, 22 Apr 2014)
New Revision: 59901

Modified:
   grass/trunk/tools/mkhtml.py
Log:
manual TOC: fix " in labels

Modified: grass/trunk/tools/mkhtml.py
===================================================================
--- grass/trunk/tools/mkhtml.py	2014-04-22 19:49:00 UTC (rev 59900)
+++ grass/trunk/tools/mkhtml.py	2014-04-22 19:49:09 UTC (rev 59901)
@@ -122,6 +122,8 @@
     label = re.sub('<[^<]+?>', '', label)
     # fix  
     label = label.replace(' ', '')
+    # fix "
+    label = label.replace('"', '')
     # replace space with underscore + lower
     return label.replace(' ', '-').lower()
 



More information about the grass-commit mailing list