sanitize: allow dfn tag

Add <dfn> tag to allowed tags list.  <dfn> represents the defining
instance of a term in HTML.
This commit is contained in:
Shane Synan 2017-01-24 18:39:17 -06:00
parent e3cdbd87bc
commit 311cdb27f4

View file

@ -978,7 +978,7 @@
$allowed_elements = array('a', 'address', 'acronym', 'audio', 'article', 'aside', $allowed_elements = array('a', 'address', 'acronym', 'audio', 'article', 'aside',
'b', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br', 'b', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br',
'caption', 'cite', 'center', 'code', 'col', 'colgroup', 'caption', 'cite', 'center', 'code', 'col', 'colgroup',
'data', 'dd', 'del', 'details', 'description', 'div', 'dl', 'font', 'data', 'dd', 'del', 'details', 'description', 'dfn', 'div', 'dl', 'font',
'dt', 'em', 'footer', 'figure', 'figcaption', 'dt', 'em', 'footer', 'figure', 'figcaption',
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'html', 'i', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'html', 'i',
'img', 'ins', 'kbd', 'li', 'main', 'mark', 'nav', 'noscript', 'img', 'ins', 'kbd', 'li', 'main', 'mark', 'nav', 'noscript',