-
Notifications
You must be signed in to change notification settings - Fork 61
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
newline rule #21
Comments
Yes, it should! Thanks for finding this 😁 I guess it's time for another unit test. |
oh, guess I was too fast (and too smart back then when I wrote it 😜 ). The not |
I have tried the following in PEG.js online and I got The rule will never make it to |
Ok, thinking about it again, you are right. First rule will be ignored if it finds an Now, what I don't really understand yet is that why LaTeX.js, when actually I tried to verify it, didn't interpret |
This is really interesting. Even with the new (and correct) code, LaTeX.js/PEG.js never matches the
and run it on a file with Windows EOLs and two or three lines, and then send me the console output? |
Oh my my.... /me == not so smart after all. The (second) bug is in load-fixtures.ls, which splits the lines to find the tests, and then joins them again with |
Shouldn't '\r' be after '\r\n'? Like here
LaTeX.js/src/latex-parser.pegjs
Line 827 in a5b822b
The text was updated successfully, but these errors were encountered: