processCharacters method

  1. @override
Token? processCharacters(
  1. CharactersToken token
)
override

Implementation

@override
Token? processCharacters(CharactersToken token) {
  if (token.data == '\u0000') {
    //The tokenizer should always emit null on its own
    return null;
  }
  tree.reconstructActiveFormattingElements();
  tree.insertText(token.data, token.span);
  if (parser.framesetOK && !allWhitespace(token.data)) {
    parser.framesetOK = false;
  }
  return null;
}