Skip to content

parser: treat even trailing backslashes as literal - #405

Open
team-humaki wants to merge 1 commit into
go-ini:mainfrom
team-humaki:parser-even-trailing-backslash-not-continuation
Open

team-humaki wants to merge 1 commit into
go-ini:mainfrom
team-humaki:parser-even-trailing-backslash-not-continuation

Conversation

@team-humaki

Copy link
Copy Markdown

A value that ends with an even number of backslashes (Windows paths such as Y:\\_1\\) was treated as a line continuation, so the next key was glued onto the value.

Only an odd trailing-backslash count continues onto the next line; even counts stay literal. Existing odd-count continuation (a\b\) is unchanged.

Fixes #347

This branch has not been deployed

No deployments
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.

Error parse values

1 participant