Browse Source

sanitize: allow dfn tag

Add <dfn> tag to allowed tags list.  <dfn> represents the defining
instance of a term in HTML.
Shane Synan 7 years ago
parent
commit
311cdb27f4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/functions2.php

+ 1 - 1
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',