From ac362814a754b54ea475d50b1ae1dbf79f41fca6 Mon Sep 17 00:00:00 2001 From: Anna Kozlova Date: Wed, 22 Jul 2015 10:03:43 +0200 Subject: [PATCH] export inspections in html: ensure html/body tags present --- .../src/com/intellij/codeInspection/export/HTMLExporter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/analysis-impl/src/com/intellij/codeInspection/export/HTMLExporter.java b/platform/analysis-impl/src/com/intellij/codeInspection/export/HTMLExporter.java index f136632d0f76..896d22588afe 100644 --- a/platform/analysis-impl/src/com/intellij/codeInspection/export/HTMLExporter.java +++ b/platform/analysis-impl/src/com/intellij/codeInspection/export/HTMLExporter.java @@ -59,9 +59,10 @@ public class HTMLExporter { public void createPage(RefEntity element) throws IOException { final String currentFileName = fileNameForElement(element); - StringBuffer buf = new StringBuffer(); + StringBuffer buf = new StringBuffer(""); appendNavBar(buf, element); myComposer.composeWithExporter(buf, element, this); + buf.append(""); writeFileImpl(myRootFolder, currentFileName, buf); myGeneratedPages.add(element); }