You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling :WikiTocGenerate on a document whose header has parens, the parens are not URL-encoded and thus conflict with the markdown link syntax []().
Minimal working example
Suppose you have a document like so:
# Title (with parens)
## Heading
## Another Heading
Calling :WikiTocGenerate will produce the following TOC:
Description
When calling
:WikiTocGenerate
on a document whose header has parens, the parens are not URL-encoded and thus conflict with the markdown link syntax[]()
.Minimal working example
Suppose you have a document like so:
Calling
:WikiTocGenerate
will produce the following TOC:These links produced in the TOC will not work when using
Enter
to try and follow them.I believe the solution would simply be to URL-encode
(
and)
in header names when generating the TOC.The text was updated successfully, but these errors were encountered: