From 311cdb27f47f1a16a3bfb0cef555bab122fdc253 Mon Sep 17 00:00:00 2001 From: Shane Synan Date: Tue, 24 Jan 2017 18:39:17 -0600 Subject: [PATCH] sanitize: allow dfn tag Add tag to allowed tags list. represents the defining instance of a term in HTML. --- include/functions2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions2.php b/include/functions2.php index f0e352ed1..ff4ac2c77 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -978,7 +978,7 @@ $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',