diff --git a/platform/platform-impl/src/com/intellij/util/ui/SwingHelper.java b/platform/platform-impl/src/com/intellij/util/ui/SwingHelper.java index c16ac4c66132..3200bf9f471c 100644 --- a/platform/platform-impl/src/com/intellij/util/ui/SwingHelper.java +++ b/platform/platform-impl/src/com/intellij/util/ui/SwingHelper.java @@ -620,7 +620,7 @@ public class SwingHelper { textPane = new JEditorPane(); } textPane.setFont(font != null ? font : UIUtil.getLabelFont()); - textPane.setContentType(UIUtil.HTML_MIME); + textPane.setEditorKit(UIUtil.getHTMLEditorKit()); textPane.setEditable(false); if (background != null) { textPane.setBackground(background);