private static @NlsSafe String preProcess(@Nls String text) {
    var document = Jsoup.parse(text);
    DocumentationHtmlUtil.removeEmptySections$intellij_platform_lang_impl(document);
    DocumentationHtmlUtil.addParagraphsIfNeeded$intellij_platform_lang_impl(
      document, "table." + CLASS_SECTIONS + " td[valign=top]");
    DocumentationHtmlUtil.addExternalLinkIcons$intellij_platform_lang_impl(document);
    document.outputSettings().prettyPrint(false);
    return document.html();
  }
private static @NlsSafe String preProcess(@Nls String text)