New tidy function that uses html tidy (http://tidy.sf.net) to make sure the output...
authorGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 6 May 2004 12:50:04 +0000 (12:50 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 6 May 2004 12:50:04 +0000 (12:50 +0000)
commitc6fe32ac5bb25d91c0c87c2314281ff8ba97a229
treed54283e9ec376130591a9539d292d7995894d588
parent3254859fb77fab690af54bde8928dcea5df9809c
New tidy function that uses html tidy (tidy.sf.net) to make sure the output is valid xhtml/xml
Disabled by default, set $wgUseTidy = true to enable
Possible improvements:
* Tweaking it to work on windows (don't know if that's possible)
* use the php5 built-in tidy module if available, that seems to allow a fine-grained config on which tags are allowed as well (see http://www.php.net/manual/en/ref.tidy.php)
includes/Parser.php