I have made a Text Filter for BBEdit which uses `tidy` to reformat XML.

It does not attempt to do anything other than clean it up.

You can find it at:

https://github.com/tjluoma/text-filters/raw/master/Tidy-XML.sh

It should also be easy to change any `tidy` argument that you wish to
use differently.

I am by no means a `tidy` expert, I have just found that these
settings work for me. I would welcome suggestions for possible
improvements.

(See https://github.com/tjluoma/text-filters if you need help figuring
out how to install Text Filters for BBEdit)

TjL

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to