Remove checkXmpTag() and blockWidgetCode() because HTMLPurifier does it better

This commit is contained in:
Kijin Sung 2016-03-12 21:33:42 +09:00
parent be882d0c5c
commit 598722b0cd
2 changed files with 14 additions and 41 deletions

View file

@ -167,11 +167,9 @@ class HTMLFilter
$def->addElement('section', 'Block', 'Flow', 'Common');
$def->addElement('article', 'Block', 'Flow', 'Common');
$def->addElement('aside', 'Block', 'Flow', 'Common');
$def->addElement('address', 'Block', 'Flow', 'Common');
// Add various inline tags.
$def->addElement('s', 'Inline', 'Inline', 'Common');
$def->addElement('var', 'Inline', 'Inline', 'Common');
$def->addElement('sub', 'Inline', 'Inline', 'Common');
$def->addElement('sup', 'Inline', 'Inline', 'Common');
$def->addElement('mark', 'Inline', 'Inline', 'Common');