mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
export inspections in html: ensure html/body tags present
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user