Skip to content

Commit

Permalink
Remove most HTML and MathML elements
Browse files Browse the repository at this point in the history
closes #74
  • Loading branch information
darylldoyle committed Mar 17, 2023
1 parent 9642320 commit 355a65d
Showing 1 changed file with 0 additions and 97 deletions.
97 changes: 0 additions & 97 deletions src/data/AllowedTags.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,75 +19,9 @@ public static function getTags()
return array (
// HTML
'a',
'abbr',
'acronym',
'address',
'area',
'article',
'aside',
'audio',
'bdi',
'bdo',
'blink',
'button',
'canvas',
'caption',
'cite',
'col',
'colgroup',
'content',
'data',
'datalist',
'decorator',
'del',
'details',
'dfn',
'dir',
'div',
'element',
'fieldset',
'figcaption',
'figure',
'font',
'footer',
'form',
'header',
'hgroup',
'html',
'image',
'input',
'ins',
'kbd',
'label',
'legend',
'li',
'main',
'map',
'mark',
'marquee',
'meter',
'nav',
'optgroup',
'option',
'output',
'progress',
'q',
'rp',
'rt',
'samp',
'section',
'select',
'shadow',
'source',
'spacer',
'style',
'summary',
'template',
'textarea',
'time',
'track',
'video',
'wbr',

// SVG
'svg',
Expand Down Expand Up @@ -158,37 +92,6 @@ public static function getTags()
'feTile',
'feTurbulence',

//MathML
'math',
'menclose',
'merror',
'mfenced',
'mfrac',
'mglyph',
'mi',
'mlabeledtr',
'mmuliscripts',
'mn',
'mo',
'mover',
'mpadded',
'mphantom',
'mroot',
'mrow',
'ms',
'mpspace',
'msqrt',
'mystyle',
'msub',
'msup',
'msubsup',
'mtable',
'mtd',
'mtext',
'mtr',
'munder',
'munderover',

//text
'#text'
);
Expand Down

0 comments on commit 355a65d

Please sign in to comment.