From 94db3802717688e0778b91863fc9c5db1c35b449 Mon Sep 17 00:00:00 2001
From: "Edward Z. Yang"
Date: Thu, 23 Nov 2006 03:49:19 +0000
Subject: [PATCH] [1.3.0] Remove Tidy option from demo if there is not Tidy
available
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@563 48356398-32a2-884e-a903-53898d9a118a
---
NEWS | 1 +
docs/examples/demo.php | 6 ++++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/NEWS b/NEWS
index 9a180fc2..5131f617 100644
--- a/NEWS
+++ b/NEWS
@@ -17,6 +17,7 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier
! New directive %HTML.BlockWrapper, for block-ifying inline elements
! New directive %HTML.Parent, allows you to only allow inline content
- Added missing type to ChildDef_Chameleon
+- Remove Tidy option from demo if there is not Tidy available
. ChildDef_Required guards against empty tags
. Lookup table HTMLDefinition->info_flow_elements added
. Added peace-of-mind variable initialization to Strategy_FixNesting
diff --git a/docs/examples/demo.php b/docs/examples/demo.php
index 4fdd259e..3386679e 100644
--- a/docs/examples/demo.php
+++ b/docs/examples/demo.php
@@ -115,8 +115,10 @@ if (isset($html)) {
approximately 2000 characters. If you need to test anything
larger than that, try the POST form.