Skip to content

Preserve trailing newlines in quoted scalars - #1512

Open
LucaCiucci wants to merge 1 commit into
jbeder:masterfrom
BUGSENG:fix-trailing-newlines
Open

LucaCiucci wants to merge 1 commit into
jbeder:masterfrom
BUGSENG:fix-trailing-newlines

Conversation

@LucaCiucci

Copy link
Copy Markdown

Quoted scalars used CLIP chomping after flow folding, which truncated multiple trailing newlines to one. Chomping applies to block scalars; quoted scalars must retain the newlines produced by folding.

Fixes #1511.

Quoted scalars used CLIP chomping after flow folding, which truncated
multiple trailing newlines to one. Chomping applies to block scalars;
quoted scalars must retain the newlines produced by folding.

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.

Parser truncates trailing newlines in multiline quoted scalars

1 participant