Skip to content

Commit 3726760

Browse files
authored
Fix formatting of lint rule descriptions in index (#7150)
These descriptions are expected to be wrapped in a `<p>` and can actually contain separated paragraphs occasionally, so they shouldn't be parsed as inline markdown. Fixes #7138
1 parent 8a054b1 commit 3726760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/lib/src/pages/lint_index.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class _LintRuleCard extends StatelessComponent {
7979
],
8080
content: [
8181
if (lint.description.isNotEmpty)
82-
DashMarkdown(content: lint.description, inline: true),
82+
DashMarkdown(content: lint.description),
8383
],
8484
actions: CardActions(
8585
leading: _statusIcons,

0 commit comments

Comments
 (0)