diff --git a/java/java-impl/src/com/intellij/codeInspection/deadCode/UnusedDeclarationPresentation.java b/java/java-impl/src/com/intellij/codeInspection/deadCode/UnusedDeclarationPresentation.java index 452658ed9933..adcba1e0c3f1 100644 --- a/java/java-impl/src/com/intellij/codeInspection/deadCode/UnusedDeclarationPresentation.java +++ b/java/java-impl/src/com/intellij/codeInspection/deadCode/UnusedDeclarationPresentation.java @@ -596,6 +596,7 @@ public class UnusedDeclarationPresentation extends DefaultInspectionToolPresenta css.addRule("p.problem-description-group {text-indent: " + JBUI.scale(9) + "px;font-weight:bold;}"); css.addRule("div.problem-description {margin-left: " + JBUI.scale(9) + "px;}"); css.addRule("ul {margin-left:" + JBUI.scale(10) + "px;text-indent: 0}"); + css.addRule("code {font-family:" + UIUtil.getLabelFont().getFamily() + "}"); final StringBuffer buf = new StringBuffer(); getComposer().compose(buf, entity, false); final String text = buf.toString(); diff --git a/platform/analysis-impl/src/com/intellij/codeInspection/ex/HTMLComposerImpl.java b/platform/analysis-impl/src/com/intellij/codeInspection/ex/HTMLComposerImpl.java index ee46fb909cb0..b5f18c246efc 100644 --- a/platform/analysis-impl/src/com/intellij/codeInspection/ex/HTMLComposerImpl.java +++ b/platform/analysis-impl/src/com/intellij/codeInspection/ex/HTMLComposerImpl.java @@ -273,7 +273,6 @@ public abstract class HTMLComposerImpl extends HTMLComposer { @Override public void appendElementOutReferences(StringBuffer buf, RefElement refElement) { if (refElement.getOutReferences().size() > 0) { - buf.append(BR); appendHeading(buf, InspectionsBundle.message("inspection.export.results.uses")); startList(buf); for (RefElement refCallee : refElement.getOutReferences()) {