Tidy config for XML

By | October 14, 2013

The following configuration won’t wrap text, which is useful if users don’t want to insert spaces while reformatting XML files.

char-encoding: utf8
indent: auto
indent-spaces: 2
wrap: 0

Usage:

tidy -xml -i -config tidy.config -m XMLFILE

Leave a Reply

Your email address will not be published. Required fields are marked *