Skip to content

docs(openspec): plan #6627 Find a job block marker only as an HTML block - #6659

Merged
dan-petty merged 1 commit into
mainfrom
fix/6627-find-a-job-block-marker-only
Nov 21, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/6627-find-a-job-block-marker-only

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Job block writers and readers find their markers with a plain text search, so a marker that a person quotes in a code span counts as a block boundary. The alternatives check then replaces the person's text and writes its block inside a code span, as it did on #6613. This change finds a marker only where CommonMark parses it as an HTML block of its own, with markdown-it-py, which the repository already uses. The alternatives check adds its block at the end of a body that holds no such pair and keeps the person's text. The readers extract_section_and_outside, without_alternatives, the refine body hash and the stage criteria keep a quoted pair. A real block, each marker on a line of its own, is still replaced and still left out of the hash.

Plans #6627

Change: openspec/changes/6627-find-a-job-block-marker-only/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 21, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 21, 2026 17:56
@dan-petty
dan-petty merged commit 3ede1c4 into main Nov 21, 2026
26 checks passed
@dan-petty
dan-petty deleted the fix/6627-find-a-job-block-marker-only branch November 21, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant