From 856a5e5b8956ffbc43ac38c709421d9f9344846c Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sat, 11 Jun 2011 15:52:20 +0100 Subject: [PATCH] Update INSTALL to avoid missing config snafu, update usage.xml. Signed-off-by: Edward Z. Yang --- INSTALL | 8 ++------ configdoc/usage.xml | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/INSTALL b/INSTALL index e64ccb0b..0adf3748 100644 --- a/INSTALL +++ b/INSTALL @@ -331,11 +331,6 @@ Or move the cache directory somewhere else (no trailing slash): The interface is mind-numbingly simple: - $purifier = new HTMLPurifier(); - $clean_html = $purifier->purify( $dirty_html ); - -...or, if you're using the configuration object: - $purifier = new HTMLPurifier($config); $clean_html = $purifier->purify( $dirty_html ); @@ -354,7 +349,8 @@ If your website is in UTF-8 and XHTML Transitional, use this code: purify($dirty_html); ?> diff --git a/configdoc/usage.xml b/configdoc/usage.xml index 5704b095..1493d661 100644 --- a/configdoc/usage.xml +++ b/configdoc/usage.xml @@ -260,7 +260,7 @@ 64 - 75 + 81 -- 2.11.4.GIT