Index: sdk/lib/_internal/dartdoc/lib/src/markdown/block_parser.dart |
diff --git a/sdk/lib/_internal/dartdoc/lib/src/markdown/block_parser.dart b/sdk/lib/_internal/dartdoc/lib/src/markdown/block_parser.dart |
index afda7ad1c73803b1ccc20dc8a5b5e5fcd40580cf..67109a45fee2132a32fa82ce0f87855afb9c4849 100644 |
--- a/sdk/lib/_internal/dartdoc/lib/src/markdown/block_parser.dart |
+++ b/sdk/lib/_internal/dartdoc/lib/src/markdown/block_parser.dart |
@@ -135,7 +135,7 @@ abstract class BlockSyntax { |
/// Gets whether or not [parser]'s current line should end the previous block. |
static bool isAtBlockEnd(BlockParser parser) { |
if (parser.isDone) return true; |
- return syntaxes.some((s) => s.canParse(parser) && s.canEndBlock); |
+ return syntaxes.any((s) => s.canParse(parser) && s.canEndBlock); |
} |
} |