Skip to content
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

Undesirable behaviour with carriage return. #148

Open
Pixelguymm opened this issue Feb 14, 2024 · 2 comments
Open

Undesirable behaviour with carriage return. #148

Pixelguymm opened this issue Feb 14, 2024 · 2 comments

Comments

@Pixelguymm
Copy link

When files are formatted to use \r\n for newlines, it can cause some undesirable behaviour when parsing.

For example:

  • Text separated by a blank line will be placed in the same paragraph.
  • Code blocks won't be closed.
  • Horizontal rules won't get parsed.
  • etc.

Essentially any syntax that requires a new line will fail.

@KvanTTT
Copy link
Contributor

KvanTTT commented Mar 19, 2024

I confirm. Tests are completely mess on Windows with \r\n line breaks.

@ajalt
Copy link
Contributor

ajalt commented Apr 8, 2024

This is a duplicate of #49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants