allowTextElements method

void allowTextElements ()

Allow basic text elements.

This allows a subset of HTML5 elements, specifically just these tags and no attributes.

Implementation

void allowTextElements() {
  add(new _SimpleNodeValidator.allowTextElements());
}