I would like to propose that tidy extension be bundled with PHP 5. 

First of all it'll provide an easy means to validate and/or fix HTML input for 
webforms, which can also help existing functions such as strip_tags(). The 
extension can also be used to reduce HTML output by removing formatting, 
which can be quite significant for large pages (even if compression is used). 
Tidy can also be used to provide a rapid means for conversion between HTML 
and XHTML and if needed can even handle XML. To those who need to parse HTML 
it also provides a fairly handy OO API (similar to that of simplexml), which 
would enable people to write fast HTML parsers in PHP.

Ilia

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to