From cb212417a885d2af7565bab70a6049a9b6e16d72 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 30 Jun 2015 19:44:33 -0700 Subject: [PATCH] Fixes #1103 - html parser issue with table colspan. --- e107_handlers/e_parse_class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index 7b38ac697..ef8ae017a 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -2687,7 +2687,10 @@ class e_parser 'input' => array('type','name','value','class','style'), 'form' => array('action','method','target'), 'audio' => array('src','controls', 'autoplay', 'loop', 'muted', 'preload' ), - 'video' => array('autoplay', 'controls', 'height', 'loop', 'muted', 'poster', 'preload', 'src', 'width') + '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') ); protected $badAttrValues = array('javascript[\s]*?:','alert\(','vbscript[\s]*?:','data:text\/html', 'mhtml[\s]*?:', 'data:[\s]*?image');