Runtime Configuration

The behaviour of these functions is affected by settings in php.ini.

Tidy Configuration Options
NameDefaultChangeableChangelog
tidy.default_config""INI_SYSTEM 
tidy.clean_output"0"INI_USER 
For further details and definitions of the INI_* modes, see the Where a configuration setting may be set.

Here's a short explanation of the configuration directives.

tidy.default_configstring

Default path for tidy config file.

tidy.clean_outputbool

Turns on/off the output repairing by Tidy.

Warning

Do not turn on tidy.clean_output if you are generating non-html content such as dynamic images.

To Top