Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
Update extend.php
Browse files Browse the repository at this point in the history
  • Loading branch information
HsiangNianian authored Feb 17, 2023
1 parent 3205c5d commit ba10616
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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');
Expand Down

0 comments on commit ba10616

Please sign in to comment.