code: function nullCharacterInForeignContent(p, token) {
      token.chars = UNICODE.REPLACEMENT_CHARACTER;
      p._insertCharacters(token);
  }
docs: 12.2.5.5 The rules for parsing tokens in foreign content ------------------------------------------------------------------