Quote:
Originally Posted by deleyd
There's a separate program I use to "Beautify" HTML code that comes out all in one line.
http://prettydiff.com/
JavaScript is markup_beauty.js (I think)
which I run using this file named wsh.wsf (I'll attach it here. You'll need to rename it since forum didn't like my .wsf file but accepted a .txt file)
and the command line to run it is:
cscript wsh.wsf /source:"name_of_your_file.html" /html:true
(on Windows)
I'll attach the markup_beauty.js file too. (Again you'll have to rename it from .txt for the same reason.)
I'm not sure if markup_beauty.js relies on other files. If so they are at
http://prettydiff.com/documentation.php
|
Thanks. But now I have an error...
Code:
E:\E-Books\Sorted\Kindle\wsh.wsf(292, 18) Microsoft JScript runtime error: 'undefined' is null or not an object
Any idea what to do to fix this?