View Single Post
Old 06-22-2012, 06:07 AM   #395
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,746
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by pdurrant View Post
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.

Last edited by Doitsu; 06-22-2012 at 06:15 AM.
Doitsu is offline   Reply With Quote