code: public static String createHtmlParagraphs(String str) {
          if (Strings.isNullOrEmpty(str)) {
              return "";
          }
          str = "<p>" + str + "</p>";
          str = StringUtils.replaceAll(str, "\n\n", "\n");
          str = StringUtils.replaceAll(str, "\n", "</p><p>");
          return str;
      }
docs: Formats a string (typically a component {@link Description}) into an
  appropriate set of HTML paragraphs ('p' tag).
  
  @param str
  @return