mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
f641a7de90
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.
2 lines
42 B
HTML
2 lines
42 B
HTML
<h1 id="sectionfooheader">foo header</h1>
|