mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 03:10:09 +02:00
Fix inability to totally override content model.
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
This commit is contained in:
@@ -51,7 +51,7 @@ class HTMLPurifier_ElementDefTest extends HTMLPurifier_Harness
|
||||
'removed-transform' => false,
|
||||
);
|
||||
$def2->child = $new;
|
||||
$def2->content_model = 'new';
|
||||
$def2->content_model = '#SUPER | new';
|
||||
$def2->content_model_type = $overloaded_new;
|
||||
$def2->descendants_are_inline = true;
|
||||
$def2->excludes = array(
|
||||
|
Reference in New Issue
Block a user