Index: pkg/dartdoc/lib/src/markdown/html_renderer.dart |
diff --git a/pkg/dartdoc/lib/src/markdown/html_renderer.dart b/pkg/dartdoc/lib/src/markdown/html_renderer.dart |
index b86ac95c817c2b5908165e381531eff34e81b70c..38db4d09fb89ab8eba806a15f47dd33ad39869c9 100644 |
--- a/pkg/dartdoc/lib/src/markdown/html_renderer.dart |
+++ b/pkg/dartdoc/lib/src/markdown/html_renderer.dart |
@@ -27,7 +27,7 @@ class HtmlRenderer implements NodeVisitor { |
bool visitElementBefore(Element element) { |
// Hackish. Separate block-level elements with newlines. |
- if (!buffer.isEmpty() && |
+ if (!buffer.isEmpty && |
_BLOCK_TAGS.firstMatch(element.tag) != null) { |
buffer.add('\n'); |
} |