You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 27120f2
Browse filesBrowse the repository at this point in the historyBrowse files
fix(md022): require a blank line below a heading above a spaced thematic break
The syntactic list test that keeps MD022 from demanding a blank line
around a list item also matched breaks written as a marker, a space and
more markers: `* * *`, `- - -`, `- --`. Every other spelling (`***`,
`---`, `___`, `_ _ _`, `---- ----`) was reported, so whether a heading
above a thematic break got its blank line depended on how the break was
written, even though rumdl parses all of them the same way.
The test now excludes whatever `is_horizontal_rule_content` recognizes,
which is what the per-line `is_horizontal_rule` flag is computed from, so
it matches the parser instead of being stricter than it. It still reads
the line text alone, which is what keeps the blank-below fix idempotent.
0 commit comments