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. https://github.com/JuliaLang/julia/issues/29344

1 Like