Explorar el Código

manual TOC: fix " in labels

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@59900 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler hace 11 años
padre
commit
c18bad0549
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      tools/mkhtml.py

+ 2 - 0
tools/mkhtml.py

@@ -122,6 +122,8 @@ def escape_href(label):
     label = re.sub('<[^<]+?>', '', label)
     # fix &nbsp;
     label = label.replace('&nbsp;', '')
+    # fix "
+    label = label.replace('"', '')
     # replace space with underscore + lower
     return label.replace(' ', '-').lower()