Index: sdk/lib/_internal/dartdoc/lib/src/markdown/html_renderer.dart |
diff --git a/sdk/lib/_internal/dartdoc/lib/src/markdown/html_renderer.dart b/sdk/lib/_internal/dartdoc/lib/src/markdown/html_renderer.dart |
index c25db6f708af22bf79b38238ff5818f53208f0c8..17941d3c75db6edc690a8a64f989dc5e6d183a3a 100644 |
--- a/sdk/lib/_internal/dartdoc/lib/src/markdown/html_renderer.dart |
+++ b/sdk/lib/_internal/dartdoc/lib/src/markdown/html_renderer.dart |
@@ -8,7 +8,7 @@ String renderToHtml(List<Node> nodes) => new HtmlRenderer().render(nodes); |
/// Translates a parsed AST to HTML. |
class HtmlRenderer implements NodeVisitor { |
- static const _BLOCK_TAGS = const RegExp( |
+ static const _BLOCK_TAGS = new RegExp( |
'blockquote|h1|h2|h3|h4|h5|h6|hr|p|pre'); |
StringBuffer buffer; |