private static @NotNull String formatText(@NotNull Project project,
                                            @NotNull @Nls String text,
                                            @NotNull Font font,
                                            int style,
                                            @NotNull Convertor<? super String, String> convertor) {
    return FontUtil.getHtmlWithFonts(escapeMultipleSpaces(formatTextWithLinks(project, text, convertor)), style, font);
  }
private static @NotNull String formatText(@NotNull Project project,
                                            @NotNull @Nls String text,
                                            @NotNull Font font,
                                            int style,
                                            @NotNull Convertor<? super String, String> convertor)