运行时配置

这些函数的行为受 php.ini 中的设置影响。

Tidy Configuration Options
名字 默认 可修改范围 更新日志
tidy.default_config "" PHP_INI_SYSTEM  
tidy.clean_output "0" PHP_INI_USER PHP_INI_PERDIR prior to PHP 5.4.0
有关 PHP_INI_* 样式的更多详情与定义,见 配置可被设定范围

这是配置指令的简短说明。

tidy.default_config string

Default path for tidy config file.

tidy.clean_output boolean

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.