0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-11-09 23:28:42 +00:00

Minor documentation updates; we're going to bite the bullet and tell PEAR users to change their installs.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1670 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2008-04-22 06:47:45 +00:00
parent e1876c18ad
commit d3710518ce
3 changed files with 12 additions and 3 deletions

View File

@ -81,6 +81,13 @@ when you use them.
Only the contents in the library/ folder are necessary, so you can remove
everything else when using HTML Purifier in a production environment.
If you installed HTML Purifier via PEAR, all you need to do is:
require_once 'HTMLPurifier.auto.php';
Please note that the usual PEAR practice of including just the classes you
want will not work with HTML Purifier's autoloading scheme.
Advanced users, read on; other users can skip to section 4.
Autoload compatibility

2
TODO
View File

@ -23,7 +23,6 @@ DOCUMENTATION
IMPORTANT FEATURES
- Factor out command line parser into its own class, and unit test it
- Figure out autoload and PEAR
NICE FEATURES
- Factor demo.php into a set of Printer classes, and then create a stub
@ -37,7 +36,6 @@ BUGS
- Investigate iconv error emitting
- Investigate UTF-8 optimization <http://htmlpurifier.org/phorum/read.php?3,1496>
- Figure out what to do about target="" and name="", since they show up so often
- Update htmLawed comparison
FUTURE VERSIONS
---------------

View File

@ -14,7 +14,11 @@ $pkg->setOptions(
'filelistgenerator' => 'file',
'include' => array('*'),
'dir_roles' => array('/' => 'php'), // hack to put *.ser files in the right place
'ignore' => array('HTMLPurifier.auto.php', 'HTMLPurifier.standalone.php', 'HTMLPurifier.path.php', 'standalone/'),
'ignore' => array(
'HTMLPurifier.standalone.php',
'HTMLPurifier.path.php',
'standalone/'
),
)
);