@Override
  public void setHtml(@NotNull @NlsSafe String html) {
    final int body = html.indexOf("<body>");
    if (body > 0) {
      html = "<html>" + html.substring(body);
    }
    myPane.setText(html);
  }
@Override
  public void setHtml(@NotNull @NlsSafe String html)