mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 03:10:09 +02:00
feat: PHP 8.4 support (#441)
This commit is contained in:
@@ -84,7 +84,7 @@ extends HTMLPurifier_ChildDefHarness
|
||||
|
||||
public function testError()
|
||||
{
|
||||
$this->expectError('Cannot use non-block element as block wrapper');
|
||||
$this->expectException(new Exception('Cannot use non-block element as block wrapper'));
|
||||
$this->obj = new HTMLPurifier_ChildDef_StrictBlockquote('div | p');
|
||||
$this->config->set('HTML.BlockWrapper', 'dav');
|
||||
$this->config->set('Cache.DefinitionImpl', null);
|
||||
|
Reference in New Issue
Block a user