docs: private String adjustHtml(String htmlInput) {
  
          // check if we have some opening and closing HTML tags
          if ((htmlInput.toLowerCase().indexOf("<html>") == -1) && (htmlInput.toLowerCase().indexOf("</html>") == -1)) {
              // add a correct HTML tag for word generated HTML
              StringBuffer tmp = new StringBuffer();
              tmp.append("<html xmlns:o=\"\"><body>");
              tmp.append(htmlInput);
              tmp.append("</body></html>");
              htmlInput = tmp.toString();
          }
          return htmlInput;
      }