public static @NotNull @Nls String prepareHintText(@NotNull Html text, @NotNull HintHint hintHint) {
    String htmlBody = UIUtil.getHtmlBody(text);
    String style =
      UIUtil.getCssFontDeclaration(hintHint.getTextFont(), hintHint.getTextForeground(), hintHint.getLinkForeground(), hintHint.getUlImg());
    return HtmlChunk.html().children(
      HtmlChunk.head().addRaw(style),
      HtmlChunk.body().addRaw(htmlBody)
    ).toString();
  }
public static @NotNull @Nls String prepareHintText(@NotNull Html text, @NotNull HintHint hintHint)