I need to modify HTML code that was exported from another program. This code was never intended to be read by human eyes, so while it is technically error-free (tags properly ordered and closed, etc.), the formatting leaves much to desired. One line in particular is 16,548 characters long without a line break. You can see where this would be annoying to work with.
I'm looking for a program that will format this text to be more easily readable. It can either modify the file directly, or allow me to paste the contents into the program for formatting. Proper indenting would be wonderful, but even just adding line breaks between tags would be fantastic.
The simpler the solution, the better...I gather I could do something like this with emacs or the like, but I don't have time right now to learn a complex editor, so I wouldn't want to use one unless the command that does this is built-in and easy to run. Basically, I'm hoping someone has had the same problem as me and written an application specifically to solve it.
Any suggestions are greatly appreciated.