einars/js-beautify — pull request #82 by zhizhangchen (2011-12-21 03:44:50+00:00)
Title: Print newline before end tag only if the tag has content or child

For example should be on online;

should be on one line