From bb96f5b0be15084a4f658ecc3338f4b79ef3bff8 Mon Sep 17 00:00:00 2001 From: Sergey Simonchik Date: Wed, 28 Sep 2016 17:04:38 +0300 Subject: [PATCH] ui: use properly configured UIUtil.getHTMLEditorKit() --- .../platform-impl/src/com/intellij/util/ui/SwingHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);