#20291
Stefan
Participant

You can use any command line tool, like “HTML Tidy” (http://tidy.sourceforge.net/)
 
How-to

Download, unpack (I have a sub folder “Tools” in my EmEditor folder)

and add a EmEditor Tool:

———————————————————————
Tools > External Tools > Customize Tools > New
 
Title: HTML Tidy -xml
Command: .\Tools\HTMLTidy\tidy_(25mar2009)\tidy.exe
Arguments: -xml -i -q “$(Path)”
 
[X] Use Output Bar
Input: Document
Output: Replace Document
OK
 
OK
———————————————————————

For example see for more:
http://tidy.sourceforge.net/docs/tidy_man.html
http://xmlwriter.net/user_tools/tidy.shtml 

(Currently I don’t know how to just replace the document without opening the output bar ???)

 
Open your file. run the new tool, close Output bar, done.

 
HTH? ;D