mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
support html details and summary
This commit is contained in:
parent
9b2af03f9f
commit
e5c5a7e729
1 changed files with 3 additions and 0 deletions
|
@ -304,12 +304,15 @@ function purify_html($s, $opts = [])
|
|||
$def->addElement('aside', 'Block', 'Flow', 'Common');
|
||||
$def->addElement('header', 'Block', 'Flow', 'Common');
|
||||
$def->addElement('footer', 'Block', 'Flow', 'Common');
|
||||
$def->addElement('details', 'Block', 'Flow', 'Common');
|
||||
$def->addElement('summary', 'Block', 'Flow', 'Common');
|
||||
//Inline
|
||||
$def->addElement('button', 'Inline', 'Inline', 'Common');
|
||||
$def->addElement('mark', 'Inline', 'Inline', 'Common');
|
||||
$def->addElement('ins', 'Inline', 'Inline', 'Common');
|
||||
$def->addElement('del', 'Inline', 'Inline', 'Common');
|
||||
|
||||
|
||||
if (in_array('allow_position', $opts)) {
|
||||
$cssDefinition = $config->getCSSDefinition();
|
||||
|
||||
|
|
Loading…
Reference in a new issue