From 2fb5b44813f1f6a9f40c502d988ecca61db0a3af Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 31 Dec 2016 07:59:04 -0800 Subject: [PATCH] Fixes #2224 - missing attributes on tag. --- e107_handlers/e_parse_class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index b14b3f526..64f25a797 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -3309,7 +3309,9 @@ class e_parser 'video' => array('autoplay', 'controls', 'height', 'loop', 'muted', 'poster', 'preload', 'src', 'width'), 'td' => array('id', 'style', 'class', 'colspan', 'rowspan'), 'th' => array('id', 'style', 'class', 'colspan', 'rowspan'), - 'col' => array('id', 'span', 'class','style') + 'col' => array('id', 'span', 'class','style'), + 'embed' => array('id', 'src', 'style', 'class', 'wmode', 'type', 'title', 'width', 'height'), + ); protected $badAttrValues = array('javascript[\s]*?:','alert\(','vbscript[\s]*?:','data:text\/html', 'mhtml[\s]*?:', 'data:[\s]*?image');