From 62c05754685053a6480a2dbc91dcec4322e4b22c Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Tue, 26 Jun 2007 19:38:26 +0000 Subject: [PATCH] [2.0.1] Fix minor regression where ins/del broadcasted most restrictive set when they should have been more lenient. git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1246 48356398-32a2-884e-a903-53898d9a118a --- library/HTMLPurifier/ChildDef/Chameleon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/HTMLPurifier/ChildDef/Chameleon.php b/library/HTMLPurifier/ChildDef/Chameleon.php index 81dc1d43..712b3475 100644 --- a/library/HTMLPurifier/ChildDef/Chameleon.php +++ b/library/HTMLPurifier/ChildDef/Chameleon.php @@ -35,7 +35,7 @@ class HTMLPurifier_ChildDef_Chameleon extends HTMLPurifier_ChildDef function HTMLPurifier_ChildDef_Chameleon($inline, $block) { $this->inline = new HTMLPurifier_ChildDef_Optional($inline); $this->block = new HTMLPurifier_ChildDef_Optional($block); - $this->elements = $this->inline->elements; + $this->elements = $this->block->elements; } function validateChildren($tokens_of_children, $config, &$context) {