Repository navigation
fix(roadmap): find a job block below an HTML block - #6839
Conversation
Plan #6791: a job block marker line or the record line in an HTML block that only a blank line ends ends that block for a read.
A job block marker line or the record line directly below an HTML block that only a blank line ends (#6791). The tests fail on the base.
A job block marker line or the record line in a top-level HTML block that only a blank line ends now ends that block for a read (#6791). The writers put the blank line back.
A marker that a person writes in an HTML block that only a blank line ends stays their text (#6791). The tests fail on 926baff4d. The record property gets an example with <div> directly above the record.
A marker line ends an HTML block that only a blank line ends only when it starts the job blocks at the end of the body, and the cut leaves no block open (#6791). Each other marker that a person writes in such a block stays their text, so a write keeps the block.
Archive the change of #6791 into the specs.
Review of the fix for #6791 (second round)Recommendation: ready. One nit stays. You can fix it before you open the pull request, or after. The new rule finds the job blocks and the record in each case of the issue. Each body of a person in the cases of the first round now reads and writes as on the base. First round and its fixesThe first round reviewed
Finding (nit): a scenario says more than its test provesWhere: the scenario "A marker in an HTML block of a person" of Problem: The THEN line says "no write changes the body". A refine write changes the body, because it replaces its section. The test proves a smaller fact. The close step of a write ( Evidence: A simulated refine write on a body with a start marker in a Fix: Write "and no write changes the text of the person". Proof for this round
Checks
After the second review
|
🤖 I have created a release *beep* *boop* --- ## [0.198.1](v0.198.0...v0.198.1) (2026-11-23) ### Bug Fixes * **roadmap:** find a job block below an HTML block ([#6839](#6839)) ([49fa7cb](49fa7cb)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
CommonMark ends an HTML block such as
<details>,</details>or<div>only at a blank line. A person can remove that blank line above a job block marker or the record. The HTML block then holds that line, so the readers find no job block and no record. The next write adds a second block or a second record, and the item loses the old record keys.Now a marker line can end such a top-level HTML block for a read. The line must start the job blocks at the end of the body. No text may follow these blocks, and the cut must leave no block open. Each reader uses this rule, and a write puts a blank line before the marker. Each other marker that a person writes in an HTML block stays their text, so a write keeps that block as it is.
split_recordreads a record line in such a block, and the next write puts a blank line before the record.Closes #6791
Change:
openspec/changes/archive/2026-11-23-6791-job-block-below-html-block/