HTML Tidy has this infuriating habit of putting a newline before the closing tag. For example:
<p>Some text</p>
becomes
<p>Some text
</p>
How do I tell Tidy to keep the closing tag on the same line as the end of the content?
Btw, I am running Tidy through Notepad++, if that makes any difference.
-m
option causestidy
to modify files in place (i.e. to overwrite them). Omit it unless you have a backup, or are otherwise happy for your existing file(s) to be clobbered. – Defeasible