From 4bf0398984d87d7ca0f227717a4a92c431dd590d Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Mon, 14 Aug 2006 02:57:16 +0000 Subject: [PATCH] Add sample test file which demonstrates basic usage. git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@245 48356398-32a2-884e-a903-53898d9a118a --- docs/examples/basic.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docs/examples/basic.php diff --git a/docs/examples/basic.php b/docs/examples/basic.php new file mode 100644 index 00000000..244afc96 --- /dev/null +++ b/docs/examples/basic.php @@ -0,0 +1,15 @@ +Simple and short'; + +$pure_html = $purifier->purify($html); + +?> \ No newline at end of file