-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown test fails with windows line endings in test file #10833
Comments
MD equality compares the html output, only one side includes Note: |
Would it be enough to just strip out |
The spec says '\r' is a whitespace character (which we do, although we're missing \n and form feed) but (link):
I dislike the "depending on platform", to me it's reasonable to want all of these work (the same) regardless of platform. This means you can't just strip the Adding a util to Aside: |
I agree that this shouldn't be platform dependent. |
http://blog.codinghorror.com/the-great-newline-schism/ Had a little go, amusingly (asI mentioned it)... the annoying part, which makes this more complicated, does turn out to be that |
Could the markdown text just go through a simple regex pass first:
|
related to #11988. |
similar to #10833, only happens with windows line endings
unix2dos test/markdown.jl
breaks the markdown test. This will be a problem for Windows people using editors that follow the platform convention, so we should try to be agnostic.cc @one-more-minute @hayd
The text was updated successfully, but these errors were encountered: