FransBouma / DocNet

Your friendly static documentation generator, using markdown files to build the content.
http://fransbouma.github.io/DocNet/
248 stars 36 forks source link

Replace Markdown parser with MarkdownDeep #12

Closed FransBouma closed 8 years ago

FransBouma commented 8 years ago

(See #11 why this is needed)

The MarkdownSharp parser is fatally flawed: the html paragraph finder uses a regex that is broken, yet it's very long/complex. This makes it skip html block elements it should hash/escape otherwise and wraps them in paragraph tags, causing flawed HTML output.

MarkdownDeep is another markdown parser and we'll move to that. This has consequences: the extensions used by DocNet have to be ported as well.

FransBouma commented 8 years ago

Implemented https://github.com/FransBouma/DocNet/commit/832a373d3164c5688fcfcf437ac439ac4127439d