mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
c367a4b9a1
If two headers have similar texts, the generated id could be equal. In order to prevent id clash: - A unique suffix is added if a header id already exists - Option to add a prefix to header id - Update of correspondent tests - (credits to nicovalencia) Closes #81, closes #82
6 lines
38 B
Markdown
6 lines
38 B
Markdown
# Same Title
|
|
|
|
some text
|
|
|
|
# Same Title
|