Skip to content

Normalize CRLF to LF#43

Merged
gongo merged 1 commit into
masterfrom
gh-39
Mar 2, 2026
Merged

Normalize CRLF to LF#43
gongo merged 1 commit into
masterfrom
gh-39

Conversation

@gongo
Copy link
Copy Markdown
Owner

@gongo gongo commented Mar 2, 2026

close #39

TOML v0.4.0 defines newline as LF or CRLF. Normalize CRLF to LF
at the entry points (toml:read-from-string, toml:read-from-file)
so the parser only needs to handle LF internally. Bare CR is
correctly rejected as invalid. See toml-lang/toml#281.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gongo gongo merged commit 3d849a4 into master Mar 2, 2026
8 checks passed
@gongo gongo deleted the gh-39 branch March 2, 2026 13:23
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.

Newline is now defined as LF or CRLF.

1 participant