From 209878af09f07f9df75b1a386e893f0dcd459b1c Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sun, 10 Jun 2012 18:07:16 -0400 Subject: [PATCH] Hopefully make the documentation page work a little bit better. Signed-off-by: Edward Z. Yang --- docs.xhtml | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/docs.xhtml b/docs.xhtml index 0fec571..4bb5367 100644 --- a/docs.xhtml +++ b/docs.xhtml @@ -30,15 +30,25 @@
-

For Contributors

+

For First-Time users

-

- As is with any open source project, HTML Purifier always is looking for - developers, writers and other folks willing to lend a hand. There are any - number of things to work on! Please, take a moment to - find out how - you can help out this project. -

+

The basic code for getting HTML Purifier setup is very simple:

+ +
purify($dirty_html);]]>
+ +

Replace $dirty_html with the HTML you want to purify +and use $clean_html instead. While HTML Purifier +has a lot of configuration knobs, the default configuration of +HTML Purifier is quite safe and should work for many users.

+ +

It's highly recommended to take a look at the full +install documentation for more information, as it will give advice +on how to make sure HTML Purifier's output is matches your page's character +encoding

For Advanced Users

@@ -66,6 +76,16 @@ go to the source! (Or ask in the forums.)

+

For Contributors

+ +

+ As is with any open source project, HTML Purifier always is looking for + developers, writers and other folks willing to lend a hand. There are any + number of things to work on! Please, take a moment to + find out how + you can help out this project. +

+

Frequently Asked Questions

What does %HTML.Allowed mean?

-- 2.11.4.GIT