export inspections in html: ensure html/body tags present

This commit is contained in:
Anna Kozlova
2015-07-22 12:34:07 +02:00
parent 6423c70f72
commit ac362814a7
@@ -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("<html><body>");
appendNavBar(buf, element);
myComposer.composeWithExporter(buf, element, this);
buf.append("</body></html>");
writeFileImpl(myRootFolder, currentFileName, buf);
myGeneratedPages.add(element);
}