An HTML formatting component that doesn't change HTML in any way, just padding?

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?

+3
source share
1 answer

Try opening it in vim (file editor), then use this:

gg=G

(=) (gg) (G). , . , .

%s/\>/\>\\n/g

%s > a > .

vim, :wq (w) [save] q

+1

All Articles