docs: @Override
    protected void visitIfNode(IfNode node) {
      IncrementalDomCodeBuilder jsCodeBuilder = getJsCodeBuilder();
      SanitizedContentKind currentContentKind = jsCodeBuilder.getContentKind();
  
      if (!isTextContent(currentContentKind)) {
        super.generateNonExpressionIfNode(node);
      } else {
        super.visitIfNode(node);
      }
    }