(Retrofit from trunk) Support of the "target" attribute for links.

SVN:2.3[4525]
This commit is contained in:
Denis Flaven
2016-12-14 11:17:04 +00:00
parent 01fa323b38
commit f1966619b9

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'),