mixmark-io / turndown

🛏 An HTML to Markdown converter written in JavaScript
https://mixmark-io.github.io/turndown
MIT License
8.52k stars 864 forks source link

After turning markdown into html and then back to markdown, the html id is also output #426

Closed hanqicheng closed 1 year ago

hanqicheng commented 1 year ago

1 2 3 4

A bug appears in the latest version of 0.62.2 | | 0.64.0 As shown in Figures 1, 2 and 3, after I use the code in Figure 4 to convert markdown to html and then convert html to markdown, it is obvious that there are some prefixes on the directory. After observation, it is found that they are the id when converting to html