Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid links #171

Open
hmlendea opened this issue Jul 2, 2021 · 0 comments
Open

Invalid links #171

hmlendea opened this issue Jul 2, 2021 · 0 comments

Comments

@hmlendea
Copy link

hmlendea commented Jul 2, 2021

Hello,

When the ToC is generated, some characters ('/', '(', ')') are replaced with '-' but that breaks the link. Instead they should be simply removed.

Examples:

  • Something (else) is converted to something--else- but it should instead be something-else
  • path/file.txt is converted to path-filetxt but it should instead be pathfiletxt
gregdan3 added a commit to gregdan3/markdown-toc-redux that referenced this issue Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant