[GRASS-SVN] r59900 - grass/branches/releasebranch_7_0/tools

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


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

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

Modified: grass/branches/releasebranch_7_0/tools/mkhtml.py
===================================================================
--- grass/branches/releasebranch_7_0/tools/mkhtml.py	2014-04-22 18:13:30 UTC (rev 59899)
+++ grass/branches/releasebranch_7_0/tools/mkhtml.py	2014-04-22 19:49:00 UTC (rev 59900)
@@ -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