1
0
mirror of https://github.com/showdownjs/showdown.git synced 2024-03-22 13:30:55 +08:00
showdown/test/cases/repeated-headers.md
Estevão Soares dos Santos c367a4b9a1 feat(uniqueHeaderId): add unique id prefix and suffix to headers
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 , closes 
2015-01-18 02:12:32 +00:00

6 lines
38 B
Markdown

# Same Title
some text
# Same Title