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
Bound a Heading's Indent the Way GitHub Does in pr_review.py #3260
MARKDOWN_HEADING and HEADING in scripts/pr_review.py each open on \s* before a heading's hashes. Python's \s takes a no-break space and any run of indentation, where GitHub takes at most three spaces before an ATX heading, a fourth opening an indented code block instead.
Constructed cases, each rendered by GitHub as something other than a heading:
## Overview
## Overview
The first opens on a no-break space, written \u00a0 here. It renders as paragraph text and the second as a code block, and both match MARKDOWN_HEADING.
Expected
The heading readers bound the indent before the hashes the way GitHub does, with both cases pinned by a test. No reviewer body has been seen carrying either, so this ranks low.
Activity
Compose pr_review.py's Block Shapes From One Primitive Each (#3261)
Pin pr_review.py's Markdown Reader Gaps as Known Limits (#3270)