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

Add new line at the end of the file (html-beautify) #325

Closed
maksimr opened this issue Sep 8, 2013 · 0 comments
Closed

Add new line at the end of the file (html-beautify) #325

maksimr opened this issue Sep 8, 2013 · 0 comments

Comments

@maksimr
Copy link

maksimr commented Sep 8, 2013

Hello!
This is the expected behavior is that html-beautify inserts a blank line at the end of the file?

Example:

source.html:

<div><div>Hello World</div></div>

run beautifier

html-beautify source.html > output.html

output.html

<div>
    <div>Hello World</div>
</div>

node --version v0.10.13
html-beautify 1.4.0

If I run beautifier on output.html again then I will have two new line at the end of the file (it will increment new line at the end of the file each time)

Thanks!

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

No branches or pull requests

2 participants