Closed franzinc closed 5 months ago
Confirmed bug. I did not expect code blocks to have strings that look like markdown headers.
The TOC generation is a simple parser. The problem is here: https://github.com/DannyBen/madness/blob/c333a0179fad34070df6dbc07c45898a9f5ca373/lib/madness/markdown_document.rb#L90
Possible solutions:
This is also fixed in master now. If you can confirm the two fixes, I can release shortly after.
Version 1.2.0 is now released with this fix. Thanks for the report.
Version 1.2.0 is now released with this fix. Thanks for the report.
Fix works. Thank you!
This
Adds bogus entries for the headings inside the code block to the TOC, which my link checker flags as bad links.