Index: samples/markdown/html_renderer.dart |
diff --git a/samples/markdown/html_renderer.dart b/samples/markdown/html_renderer.dart |
index 943613d9727c3487d0dd82aba7535d8a96a0119a..148b5bf2ee99f664a6af7b55093e2ea08bba6743 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 const _BLOCK_TAGS = const RegExp( |
+ static const _BLOCK_TAGS = new RegExp( |
Bob Nystrom
2012/11/12 18:55:05
"const" -> "final"
Anders Johnsen
2012/11/13 06:42:32
Done.
|
'blockquote|h1|h2|h3|h4|h5|h6|hr|p|pre'); |
StringBuffer buffer; |