Skip to content

Keep blank lines in child nodes, too #77

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 Mar 8, 2023 · 1 comment · Fixed by #80
Closed

Keep blank lines in child nodes, too #77

ledermann opened this issue Mar 8, 2023 · 1 comment · Fixed by #80

Comments

@ledermann
Copy link

Follow up of #63: The formatter of v4.0.1 keeps blank lines (thanks for this!), but only if they are all root nodes. It does not work for child nodes.

This...

%div
  %p First paragraph

  %p Second paragraph

...is formatted as...

%div
  %p First paragraph
  %p Second paragraph
@kddnewton
Copy link
Member

Ahh shoot yeah I'll fix that too.

@kddnewton kddnewton mentioned this issue Mar 9, 2023
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