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

Debugging links

parent 23f321fc
No related branches found
No related tags found
No related merge requests found
Pipeline #1381 passed
...@@ -85,8 +85,8 @@ def processDocument(args:argparse.Namespace) -> None: ...@@ -85,8 +85,8 @@ def processDocument(args:argparse.Namespace) -> None:
for h in headers: for h in headers:
# _h = re.sub('\[', '%5B', h[0]) # _h = re.sub('\[', '%5B', h[0])
# _h = re.sub('\]', '%5D', _h) # _h = re.sub('\]', '%5D', _h)
_h = re.sub('\[', '\\[', h[0]) _h = re.sub('\[', '%5B', h[0])
#_h = re.sub('\]', '\\]', _h) _h = re.sub('\]', '%5D', _h)
heading_link=prepareTOClink(_h) heading_link=prepareTOClink(_h)
print(_h) print(_h)
print(heading_link) print(heading_link)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment