void (@NotNull JEditorPane editorPane, @NotNull @Nls String bodyInnerHtml, @Nullable Color foregroundColor) { editorPane.setText(buildHtml( UIUtil.getCssFontDeclaration(editorPane.getFont(), foregroundColor, JBUI.CurrentTheme.Link.Foreground.ENABLED, null), bodyInnerHtml )); }