]> git.wh0rd.org - tt-rss.git/commitdiff
sanitize: allow dfn tag
authorShane Synan <digitalcircuit36939@gmail.com>
Wed, 25 Jan 2017 00:39:17 +0000 (18:39 -0600)
committerShane Synan <digitalcircuit36939@gmail.com>
Wed, 25 Jan 2017 00:39:17 +0000 (18:39 -0600)
Add <dfn> tag to allowed tags list.  <dfn> represents the defining
instance of a term in HTML.

include/functions2.php

index f0e352ed100cf47692b8dfe6c719fed16f083fbc..ff4ac2c771f358fec01c23b630889a188f9d7154 100644 (file)
                $allowed_elements = array('a', 'address', 'acronym', 'audio', 'article', 'aside',
                        'b', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br',
                        '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',
                        'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'html', 'i',
                        'img', 'ins', 'kbd', 'li', 'main', 'mark', 'nav', 'noscript',