diff --git a/extend.php b/extend.php index 18f2cf9..11acdfa 100644 --- a/extend.php +++ b/extend.php @@ -25,6 +25,8 @@ $config->BBCodes->add('LI'); // Allowed HTML tags + $config->HTMLElements->allowElement('details'); + $config->HTMLElements->allowAttribute('details', 'summary'); $config->HTMLElements->allowElement('b'); $config->HTMLElements->allowElement('strong'); $config->HTMLElements->allowElement('i'); @@ -41,6 +43,7 @@ $config->HTMLElements->allowElement('pre'); $config->HTMLElements->allowElement('img'); $config->HTMLElements->allowAttribute('img', 'src'); + $config->HTMLElements->allowAttribute('img', 'width'); $config->HTMLElements->allowElement('br'); $config->HTMLElements->allowElement('hr'); $config->HTMLElements->allowElement('ol');