Skip to content

How to keep blank lines? #63

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

Closed
ledermann opened this issue Dec 14, 2022 · 1 comment · Fixed by #76
Closed

How to keep blank lines? #63

ledermann opened this issue Dec 14, 2022 · 1 comment · Fixed by #76

Comments

@ledermann
Copy link

The formatter removes all blank lines:

This...

%p First paragraph

%p Second paragraph

...is formatted as...

%p First paragraph
%p Second paragraph

The blank line is removed. Is this intended? The PrettierRuby plugin removes multiple blank lines, but keeps single ones. I prefer this behavior for .haml files, too. Is this possible?

@kddnewton
Copy link
Member

I'll release this in 4.0.1

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 a pull request may close this issue.

2 participants