Closed
Description
Found while working #2187 in #2383. Neither is a regression from that change, and both predate it.
DETAILS_OPENandDETAILS_TAGnow disagree on a tag boundary.DETAILS_OPENends the overview preamble at^ {0,3}<details(?=[\s>]). It rejects<details/>, which HTML opens as a block andDETAILS_TAGnow reads as an opener, and it accepts<details\v>, which HTML reads as another tag name andDETAILS_TAGnow rejects. A round whose first section opens with<details/>therefore does not end the preamble there, so a section's own total can be read as the round's. Its comment ("Given a tag boundary asDETAILS_TAGalready has") still holds for<detailsfoo>, but the two boundaries no longer match.- Some HTML closes are still unread by
DETAILS_TAG. An attributed or slashed close indented one to three spaces (</details x>), one behind a blockquote marker, and</detailswith its>on the next line are each handed to HTML by a CommonMark renderer. Pair Nonstandard details Markup Correctly When Blanking the Overview Narrative #2383 reads an attributed close only at column zero on purpose, since both callers turn a leading code span into spaces before the pattern runs, so reading an indented one would pair a mid-line literal. A fix needs the callers to keep that distinction, for example by masking a code span with a character other than a space.
Done looks like: each either handled with a test built from constructed text, or declined with observed-format evidence that rules it out.
Activity
Align details Tag Boundaries Across pr_review.py's Readers (#2415)
Promote develop to main: reply for Identical Threads, details Tag Bou…