Translations:Manual:$wgUseTidy/6/en

Note that MediaWiki already does some built-in checks and corrections to user's HTML, and limits the range of html tags and attributes which can be used (unless you set $wgRawHtml=true Dangerous!) Limitations are described at meta:Help:HTML in wikitext. The logic for this is found in $logic. As such, you may decide that running HTML tidy over the output is not necessary.