public static @NotNull @NlsSafe String toHtml(@NotNull @Nls String html, final int hPadding) {
    final @NlsSafe String withClosedTag = CLOSE_TAG_PATTERN.matcher(html).replaceAll("<$1$2></$1>");
    Font font = StartupUiUtil.getLabelFont();
    @NonNls String family = font.getFamily();
    int size = font.getSize();
    return "<html><style>body { font-family: "
           + family + "; font-size: "
           + size + ";} ul li {list-style-type:circle;}</style>"
           + addPadding(withClosedTag, hPadding) + "</html>";
  }
public static @NotNull @NlsSafe String toHtml(@NotNull @Nls String html, final int hPadding)