Support of the "target" attribute for links.

SVN:trunk[4524]
This commit is contained in:
Denis Flaven
2016-12-14 11:16:12 +00:00
parent 0e21edcc77
commit c0949421ad

View File

@@ -138,7 +138,7 @@ class HTMLDOMSanitizer extends HTMLSanitizer
protected static $aTagsWhiteList = array(
'html' => array(),
'body' => array(),
'a' => array('href', 'name', 'style'),
'a' => array('href', 'name', 'style', 'target'),
'p' => array('style'),
'br' => array(),
'span' => array('style'),