code: function characterInTable(p, token) {
      const curTn = p.openElements.currentTagName;
  
      if (curTn === $.TABLE || curTn === $.TBODY || curTn === $.TFOOT || curTn === $.THEAD || curTn === $.TR) {
          p.pendingCharacterTokens = [];
          p.hasNonWhitespacePendingCharacterToken = false;
          p.originalInsertionMode = p.insertionMode;
          p.insertionMode = IN_TABLE_TEXT_MODE;
          p._processToken(token);
      } else {
          tokenInTable(p, token);
      }
  }
docs: The "in table" insertion mode ------------------------------------------------------------------