Markdown and line ending conventions

I’m getting different results when parsing markdown on Linux and Windows because the latter checks out the the markdown file with native Windows line endings. E.g.

julia> Markdown.parse("* a\n\n  * b\n") == Markdown.parse("* a\r\n\r\n  * b\r\n")
false

Is this expected or should I report it as an issue?

Sounds like a bug.

2 Likes

Thanks. Markdown parsing is sensitive to line endings · Issue #29344 · JuliaLang/julia · GitHub

1 Like