Skip to content
Snippets Groups Projects
Commit 3df93b38 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Debugging links

parent 4589c119
No related branches found
No related tags found
No related merge requests found
Pipeline #1387 passed
......@@ -57,7 +57,7 @@ def processDocument(args:argparse.Namespace) -> None:
.replace(')', '%29')\
.replace('>', '%3E')\
.replace('\\[', '')\
.replace('\]', '')\
.replace(']', '')\
.replace(':', '%3A')
......@@ -85,6 +85,7 @@ def processDocument(args:argparse.Namespace) -> None:
for h in headers:
# _h = re.sub('\[', '%5B', h[0])
# _h = re.sub('\]', '%5D', _h)
print(h[0])
_h = re.sub('\[', '\\[', h[0])
#_h = re.sub('\]', '\\]', _h)
heading_link=prepareTOClink(_h)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment