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