-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
Parser error with toml engine and CRLF. #92
Comments
I see the point, here of
And |
I can verify this just by modifying line 15 of
The error message suggests that the problem is not in the In fact, this error message:
Looks like it comes from the PEG.js library, which I assume the Please go raise an issue here to get this problem fixed: https://github.com/BinaryMuse/toml-node |
@robertmassaioli thanks for your reply, But don't you think it's a little strange to output |
I think this should be reopened. It causes errors on TOML parsing on Windows machines. Input file: https://github.com/11ty/eleventy/blob/master/test/stubs/custom-frontmatter/template-toml.njk#L1 Build failure on Windows machines from this: https://travis-ci.org/11ty/eleventy/jobs/550051432 (Works on Linux and Mac https://travis-ci.org/11ty/eleventy/builds/550051427) |
I also think that this issue should be reopened to solve the bug that appears on windows |
gray-matter
with CRLF, work well.node-toml
with CRLF, work well too.BUT:
If you run the
toml
example of README with CRLF file, will get a parse error.Minimal example repo here
The text was updated successfully, but these errors were encountered: