Index: samples/markdown/html_renderer.dart |
diff --git a/samples/markdown/html_renderer.dart b/samples/markdown/html_renderer.dart |
index 011794deb8cd93b06f971c9e7841ca29a80847ed..943613d9727c3487d0dd82aba7535d8a96a0119a 100644 |
--- a/samples/markdown/html_renderer.dart |
+++ b/samples/markdown/html_renderer.dart |
@@ -6,7 +6,7 @@ String renderToHtml(List<Node> nodes) => new HtmlRenderer().render(nodes); |
/// Translates a parsed AST to HTML. |
class HtmlRenderer implements NodeVisitor { |
- static final _BLOCK_TAGS = new RegExp( |
+ static const _BLOCK_TAGS = const RegExp( |
'blockquote|h1|h2|h3|h4|h5|h6|hr|p|pre'); |
StringBuffer buffer; |