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

Fix removal of empty lines in free text fields #86

Merged
merged 1 commit into from
Jan 17, 2024
Merged

Fix removal of empty lines in free text fields #86

merged 1 commit into from
Jan 17, 2024

Conversation

phadej
Copy link
Owner

@phadej phadej commented Jan 14, 2024

Fixes #29

@phadej phadej changed the title WIP: Empty lines Fix removal of empty lines in free text fields Jan 14, 2024
... like `description`

With cabal-version: 3.0 one doesn't need to use single dot lines
to indicate empty lines, but cabal-fmt removed completely empty lines
squashing paragraphs together

We now treat free text fields specially (as does `Cabal-fmt`),
by not parsing&prettyprinting them, but handling directly.
@phadej phadej merged commit 202ccdc into master Jan 17, 2024
10 checks passed
@phadej phadej deleted the issue29 branch January 17, 2024 20:54
@shlevy
Copy link

shlevy commented Jan 17, 2024

Thank you!

@phadej
Copy link
Owner Author

phadej commented Jan 17, 2024

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.

Preserving empty lines in free text fields
2 participants