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

[ BUG ] ":" symbol generates unnecessary hyphen #107

Open
MrR0807 opened this issue Dec 23, 2020 · 0 comments
Open

[ BUG ] ":" symbol generates unnecessary hyphen #107

MrR0807 opened this issue Dec 23, 2020 · 0 comments
Labels

Comments

@MrR0807
Copy link

MrR0807 commented Dec 23, 2020

Describe the bug
The online tool doesn't work with headers like this: "# Chapter 1: Introducing to something". Symbol : is replaced with hyphen, but it should be removed altogether as per explanation.

To Reproduce

# Chapter 1: Introducing
# Chapter 2: The Foundations

Generates:

- [Chapter 1: Introducing](#chapter-1--introducing)
- [Chapter 2: The Foundations](#chapter-2--the-foundations)

Expected behavior
No double hyphen between 1-introducing

- [Chapter 1: Introducing](#chapter-1-introducing)
- [Chapter 2: The Foundations](#chapter-2-the-foundations)

Environment (please complete the following information):
Online tool: https://ecotrust-canada.github.io/markdown-toc/

@MrR0807 MrR0807 added the bug label Dec 23, 2020
@MrR0807 MrR0807 changed the title [ BUG ] ... [ BUG ] ":" symbol generates unnecessary hyphen Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant