'<time datetime="1978-11-19T05:00:00Z">#DBD</time>',
'Time with datetime attribute',
['time'
],
],
];
} /**
* Checks that \Drupal\Component\Utility\Xss::filterAdmin() correctly strips unallowed tags.
*/
public function testFilterXSSAdmin() { $value = Xss::
filterAdmin('<style /><iframe /><frame /><frameset /><meta /><link /><embed /><applet /><param /><layer />'
);
$this->
assertEquals('',
$value, 'Admin HTML filter -- should never allow some tags.'
);
} /**
* Tests the loose, admin HTML filter.
*
* @param string $value
* The value to filter.
* @param string $expected
* The expected result.
* @param string $message
* The assertion message to display upon failure.
*
* @dataProvider providerTestFilterXssAdminNotNormalized
*/