Index: pkg/analysis_server/tool/spec/to_html.dart |
diff --git a/pkg/analysis_server/tool/spec/to_html.dart b/pkg/analysis_server/tool/spec/to_html.dart |
index 3d35b010585d2188f342632ea679331e1674bed3..2164c9fa965755c0407e4ee13bfe61f25fd19bcf 100644 |
--- a/pkg/analysis_server/tool/spec/to_html.dart |
+++ b/pkg/analysis_server/tool/spec/to_html.dart |
@@ -84,6 +84,7 @@ dt.typeDefinition { |
final GeneratedFile target = new GeneratedFile('../../doc/api.html', () { |
ToHtmlVisitor visitor = new ToHtmlVisitor(readApi()); |
dom.Document document = new dom.Document(); |
+ document.append(new dom.DocumentType('html', null, null)); |
for (dom.Node node in visitor.collectHtml(visitor.visitApi)) { |
document.append(node); |
} |