1
0
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:
Edward Z. Yang
2009-06-10 18:24:52 -04:00
parent 733a5ce5c3
commit c7594487a2
3 changed files with 7 additions and 2 deletions

View File

@@ -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(