Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

--filter does weird things when more than one document matches the filter #80

Closed
esmet opened this issue Jun 23, 2019 · 0 comments
Closed

Comments

@esmet
Copy link
Contributor

esmet commented Jun 23, 2019

It looks like exactly one newline at the end of any matched document is removed, causing yaml badness when more than one document is matched and they are concatenated.

This is probably fallout from the highly hand-written yaml filter code that attempts to preserve comments and whitespace. More care is needed.

@esmet esmet closed this as completed in fa0d333 Jun 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant