docs: public SanitizedContentKind getMostAppropriateContentKind() {
      SanitizedContentKind kind = STATE_TO_CONTENT_KIND.get(state);
      if (kind != null && isValidStartContextForContentKindLoose(kind)) {
        return kind;
      }
      return SanitizedContentKind.TEXT;
    }