From d3710518cee84e41635ff2440460cdafac7bc54f Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Tue, 22 Apr 2008 06:47:45 +0000 Subject: [PATCH] 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 --- INSTALL | 7 +++++++ TODO | 2 -- package.php | 6 +++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/INSTALL b/INSTALL index d01d9e2e..c46754a9 100644 --- a/INSTALL +++ b/INSTALL @@ -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 diff --git a/TODO b/TODO index c6addc81..11c4ad58 100644 --- a/TODO +++ b/TODO @@ -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 - Figure out what to do about target="" and name="", since they show up so often - - Update htmLawed comparison FUTURE VERSIONS --------------- diff --git a/package.php b/package.php index 851fafb9..371e3b46 100644 --- a/package.php +++ b/package.php @@ -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/' + ), ) );