showdown/test/features/prefixHeaderId-simple.html
Estevao Soares dos Santos f641a7de90 fix(prefixHeaderId): make prefixHeaderId string be parsed along the generated id
If an invalid prefix was passed (a string with spaces, for instance),
the string would be added as is. This ould generate invalid ids.
Also, this makes `prefixHeaderId` option play nicely with `ghCompatibleHeaderId`, since they will
follow the same escaping rules when both options are enabled.
2017-02-06 05:37:49 +00:00

2 lines
42 B
HTML

<h1 id="sectionfooheader">foo header</h1>