When formatting html files it keeps adding extra newlines at the end of the file.
Calling a format on this input:
More calls to the format function will keep increasing the number of extra lines.
I've tried to update to the latest version (my previous version was cloned in the beginning of December). Both these versions has this issue.
Thsnks! You are right! I try fix it.
I think this is caused by the jsbeautify lib, because there are testcases for this which started failing with commit b346e74.
Edit: Maybe not... :P
You are right. Problem in html-beautify from js-beautify lib
HtmlBeautify() adding extra newline (relate #36)
Fix print function in plugin/beautify.js