RE: [PHP-WIN] Re: MsWord html
| From: | Matt Kynaston | Date: | Mon, 11 Nov 2002 10:59:59 +0000 |
| Subject: | RE: [PHP-WIN] Re: MsWord html | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-16848@lists.php.net to get a copy of this message | ||
> And tell me please, how do you force Your client to use clean HTML in
> Your content manager?
> May be it helps me not to search such a useless thing as a Regexp.
Run the HTML through HTMLTidy - http://tidy.sourceforge.net.
To integrate with PHP, you might want to check how the Phoudry Editor does
it (sounds like you're doing similar stuff to them, so their code would be
well worth a look anyway):
http://editor.phoundry.com/
Matt