How do you clean up an html file?
For example, this file has one too many empty line between the div tags. I would like cleanup to leave only one blank line there.
<html>
<body>
<div>
foo
</div>
<div>
abc
</div>
</body>
</html>
What I tried in my emacs prelude
M-x help
d PATTERN Show a list of functions, variables, and other items whose
documentation matches the PATTERN (a list of words or a regexp).
entered 'clean html'
Nothing found
(emacs) Blank Lines
, particularly about the commanddelete-blank-lines
, which is globally bound toC-x C-o
by default.