NodeValidatorBuilder.common constructor

Creates a new NodeValidatorBuilder which accepts common constructs.

NodeValidatorBuilder.common()

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.