Explorar o 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 %!s(int64=11) %!d(string=hai) anos
pai
achega
c18bad0549
Modificáronse 1 ficheiros con 2 adicións e 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()