Quote:
Originally Posted by pdurrant
Since it's a script, you're free to change it, although deciding where line endings 'should be' isn't trivial.
|
How about globally replacing
>< with
>\n< (i.e. inserting line-breaks between a sequence of closing and opening angle brackets? It's not a perfect solution, but it'd definitely improve the readability of the .html file.
@deleyd
I tested the
prettydiff scripts and noticed that there seems to be a problem with accented characters, which are garbled in the output file. (English text should be fine, though.)
Babelpad also reported an error message when I tried to open the output file, which is usually an indicator of invalid Unicode sequences in a file.