资 源 简 介
Heading1
This plugin uses tidy html php bindings to clean bad tags in articles.
Heading2
Installation
If you are using PHP on a Windows system, all you need to do to enable the extension is uncomment the line extension=php_tidy.dll in your php.ini file. The official win32 binary distribution has built-in Tidy support.
ext/tidy is provided as part of the official PHP 5 source distribution. However, in order to compile it, you must also have the TidyLib library and headers installed. The source code for the library can be found through the HTML Tidy project homepage at http://tidy.sourceforge.net/. (When selecting the appropriate download, it’s useful to know that the TidyLib project uses dates to control its versioning.)
Once the library has been built and installed, PHP 5 can be compiled to provide built-in support for it by using the --with-tidy configuration option:
[john@localhost]# ./configure --with-tidy=/path/to/libtidy