TidyFilter

The TidyFilter allows you to use the PHP tidy extension to clean up and repair HTML documents. Usage example:

<filterchain>
  <tidyfilter encoding="utf8">
    <config name="indent" value="true" />
    <config name="output-xhtml" value="true" />
  </tidyfilter>
</filterchain>

Table 194.  Attributes for the <tidyfilter> tag

Name Type Description Default Required
encoding String The expected input encoding of the file. utf8 No