pbzweihander / markdown-toc

Table of Contents generator for Markdown. Written in Rust.
MIT License
16 stars 3 forks source link

Incorrect links when headers have numbers and periods in heading #8

Closed bradjc closed 10 months ago

bradjc commented 3 years ago

In this document https://github.com/tock/tock/blob/master/doc/CodeReview.md we have a header 2. Pull Requests. The expected markdown-toc output is:

- [2. Pull Requests](#2-pull-requests)

however, md-toc is generating:

- [2. Pull Requests](#2.-pull-requests)

v0.2.0

cybercoder-naj commented 10 months ago

Can you assign me this issue?