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

Find CRLF line endings (Windows) with regexes #625

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

davidkopp
Copy link
Contributor

Some of the used regex definitions only looked for \n (LF) and not for \r\n (CRLF). Because I'm using Windows and sometimes modify files with other editors it can happen that files are saved with CRLF line endings .

This PR changes the regexes that they find both, LF and CRLF.

Fixes #615

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

Successfully merging this pull request may close these issues.

Frontmatter is not converted
1 participant