code: public static String stripHtml(String html) {
  
          if (html == null) {
              return null;
          }
          Element el = DOM.createDiv();
          el.setInnerHTML(html);
          return el.getInnerText();
      }
docs: Returns the text content to any HTML.
  
  @param html the HTML
  
  @return the text content