I'm trying to tidy up (read: HTML Tidy) my HTML code, but it continues to try to “fix” my HTML code, which actually breaks the output. I don’t have time to fix all this “invalid” HTML ... it displays perfectly in every browser, I just want to format it so that I can read it. Is there such a tool?
Try opening it in vim (file editor), then use this:
gg=G
(=) (gg) (G). , . , .
=
gg
G
%s/\>/\>\\n/g
%s > a > .
%s
vim, :wq (w) [save] q
:wq
w
q