allowHtml5 method

  1. @override
void allowHtml5({
  1. UriPolicy? uriPolicy,
})
override

Allow common safe HTML5 elements and attributes.

This list is based off of the Caja whitelists at: https://code.google.com/p/google-caja/wiki/CajaWhitelists.

Common things which are not allowed are script elements, style attributes and any script handlers.

Implementation

@override
void allowHtml5({UriPolicy? uriPolicy}) {}