code: @Override
      protected void renderTagEnd() {
          try {
              if (StringUtils.isNotEmpty(this.output)) {
                  this.output = toString(this.escape
                          ? escape(this.output)
                          : this.output);
                  JspWriter writer = this.pageContext.getOut();
                  boolean renderTag = renderTag()
                          && (StringUtils.isNotBlank(this.tagName) || StringUtils.isNotBlank(getClasses()));
                  if (renderTag) {
                      super.renderTagStart();
                  }
                  writer.write(this.output);
                  if (renderTag) {
                      super.renderTagEnd();
                  }
              }
          } catch (IOException ioex) {
              LOG.error(ioex.getMessage(), ioex);
          }
      }
docs: is rendering the text and a tag around if 'tagName' is set or CSS classes are specified