cleaning up word html
| From: | Peter | Date: | Wed, 12 Sep 2001 16:33:27 +0000 |
| Subject: | cleaning up word html | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-67060@lists.php.net to get a copy of this message | ||
Hi,
I am looking to clean up the HTML generated by some of the in-browser WYSIWYG editors, especially if you paste in content from Word. Can I install HTMLTidy on my server easily, and call it from PHP easily? Are there other good classes available that clean up HTML? And how would I make a function that takes all tags (between <>), and can do something like: replace <p anything here> with <p>?
Links and tips appreciated!
Thanks,
Peter
Smile.
It makes people wonder what you're thinking.