mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 17:39:46 +01:00
PHP warning removal
This commit is contained in:
parent
29e19a5387
commit
3fb1881cbe
@ -2410,7 +2410,7 @@ class e_parser
|
|||||||
'img' => array('id', 'src', 'style', 'class', 'alt', 'title', 'width', 'height'),
|
'img' => array('id', 'src', 'style', 'class', 'alt', 'title', 'width', 'height'),
|
||||||
'a' => array('id', 'href', 'style', 'class', 'title'),
|
'a' => array('id', 'href', 'style', 'class', 'title'),
|
||||||
);
|
);
|
||||||
private $badAttrValues = array("javascript[\s]*?:","alert\(","vbscript[\s]*?:","data:text/html", "mhtml[\s]*?:", "data:[\s]*?image");
|
private $badAttrValues = array("javascript[\s]*?:","alert\(","vbscript[\s]*?:","data:text\/html", "mhtml[\s]*?:", "data:[\s]*?image");
|
||||||
private $allowedTags = array('html', 'body','div','a','img','table','tr', 'td', 'th', 'tbody', 'thead', 'colgroup', 'b',
|
private $allowedTags = array('html', 'body','div','a','img','table','tr', 'td', 'th', 'tbody', 'thead', 'colgroup', 'b',
|
||||||
'i', 'pre','code', 'strong', 'u', 'em','ul','li','img','h1','h2','h3','h4','h5','h6','p',
|
'i', 'pre','code', 'strong', 'u', 'em','ul','li','img','h1','h2','h3','h4','h5','h6','p',
|
||||||
'div','pre','section','article', 'blockquote','hgroup','aside','figure','span', 'video', 'br',
|
'div','pre','section','article', 'blockquote','hgroup','aside','figure','span', 'video', 'br',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user