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

Newlines fix #36

Merged
merged 3 commits into from
Oct 23, 2023
Merged

Newlines fix #36

merged 3 commits into from
Oct 23, 2023

Conversation

Ygg01
Copy link
Owner

@Ygg01 Ygg01 commented Oct 23, 2023

The commit fixes #35.

Issue is caused by fixes introduced in #31 , where I tried to fixed line numbers on Windows, but due to tests relying on .ftl files made for Linux, they weren't caught on Windows machines.

To solve #31 where a Line\r\n I added mechanism to emit lines as Line + MISSING_EOL flag (flag which is true for CLRF line endings). However a text like \r\n will be treated due as `` + MISSING_EOL flag causing it to be ignored. Now these elements are no longer ignored.

Ygg01 added 3 commits October 22, 2023 16:07
The issue is caused by newline special case CRLF being ignored by parser, when the line is empty.
@Ygg01 Ygg01 merged commit 948027a into master Oct 23, 2023
3 of 4 checks passed
@Ygg01 Ygg01 deleted the fix-newlines-35 branch October 23, 2023 11:37
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.

New line parsing not working correctly in 0.6.0
1 participant