1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-10 17:26:25 +02:00

feat: Allow more image widths by default (#430)

This commit is contained in:
Tim Otten
2024-12-11 11:15:46 -08:00
committed by GitHub
parent 63e631ebd3
commit 00a0748427
7 changed files with 10 additions and 3 deletions

View File

@ -8,6 +8,7 @@ class HTMLPurifier_HTMLModule_SafeObjectTest extends HTMLPurifier_HTMLModuleHarn
parent::setUp();
$this->config->set('HTML.DefinitionID', 'HTMLPurifier_HTMLModule_SafeObjectTest');
$this->config->set('HTML.SafeObject', true);
$this->config->set('HTML.MaxImgLength', 1200);
}
public function testMinimal()