Creates a new NodeValidatorBuilder which accepts common constructs.
By default this will accept HTML5 elements and attributes with the default UriPolicy and templating elements.
Notable syntax which is filtered:
For scenarios where the HTML should only contain formatted text allowTextElements is more appropriate.
Use allowSvg to allow SVG elements.
NodeValidatorBuilder.common() { allowHtml5(); allowTemplating(); }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-html/NodeValidatorBuilder/NodeValidatorBuilder.common.html