mirror of
https://github.com/e107inc/e107.git
synced 2025-04-19 20:21:51 +02:00
Fixes #1103 - html parser issue with table colspan.
This commit is contained in:
parent
3dba34c62f
commit
cb212417a8
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user