diff --git a/core/htmlsanitizer.class.inc.php b/core/htmlsanitizer.class.inc.php index dbda6e59a..ccda5bd61 100644 --- a/core/htmlsanitizer.class.inc.php +++ b/core/htmlsanitizer.class.inc.php @@ -162,7 +162,7 @@ class HTMLDOMSanitizer extends HTMLSanitizer protected static $aTagsWhiteList = array( 'html' => array(), 'body' => array(), - 'a' => array('href', 'name', 'style', 'target', 'title'), + 'a' => array('href', 'name', 'style', 'target', 'title', 'data-role', 'data-object-class', 'data-object-id'), 'p' => array('style'), 'blockquote' => array('style'), 'br' => array(),