mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 14:52:24 +09:00
Fix #2194 allow <details> amd <summary> tags
This commit is contained in:
parent
741f725bcf
commit
5ae810a54c
2 changed files with 7 additions and 0 deletions
|
|
@ -255,6 +255,8 @@ class HTMLFilter
|
|||
$def->addElement('section', 'Block', 'Flow', 'Common');
|
||||
$def->addElement('article', 'Block', 'Flow', 'Common');
|
||||
$def->addElement('aside', 'Block', 'Flow', 'Common');
|
||||
$def->addElement('details', 'Block', 'Flow', 'Common');
|
||||
$def->addElement('summary', 'Block', 'Flow', 'Common');
|
||||
|
||||
// Add various inline tags.
|
||||
$def->addElement('s', 'Inline', 'Inline', 'Common');
|
||||
|
|
@ -313,6 +315,7 @@ class HTMLFilter
|
|||
));
|
||||
|
||||
// Support additional properties.
|
||||
$def->addAttribute('details', 'open', 'Bool');
|
||||
$def->addAttribute('i', 'aria-hidden', 'Text');
|
||||
$def->addAttribute('img', 'srcset', 'Text');
|
||||
$def->addAttribute('img', 'data-file-srl', 'Number');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue