Skip to content

chore: bump spec submodule (section corpus); un-skip heading fixtures - #17

Merged
dereuromark merged 1 commit into
mainfrom
chore/bump-spec-section-corpus
May 21, 2026
Merged

chore: bump spec submodule (section corpus); un-skip heading fixtures#17
dereuromark merged 1 commit into
mainfrom
chore/bump-spec-section-corpus

Conversation

@dereuromark

Copy link
Copy Markdown
Contributor

Final step of the <section> wrapper rollout (PART 9 §13).

Bumps the spec submodule to markup-carve/carve@2e57817 (#19), which carries the section-wrapped heading fixtures, and removes the six temporary KNOWN_GAPS entries (02-headings*, 17-attributes, 19-heading-ids) added in #16 — the vendored corpus now matches the renderer's output.

228/228 tests pass (no skips, no todos).

Rollout complete

  1. ✅ carve feat: list-marker-change split + admonition title rule (P1.4, P1.12) #18 — spec PART 9 §13
  2. ✅ carve-js feat: heading <section> wrapping (P1.2) #16 — renderer + tests
  3. ✅ carve feat: Tier-2 custom admonitions render as div (P1.12 tier model) #19 — re-vendor carve-lib + rewrite fixtures
  4. (this PR) carve-js — bump submodule + un-skip
  5. ⏳ carve-php — implement the same section wrapping (tracked separately)

Bumps the spec submodule to markup-carve/carve@2e57817, which carries
the section-wrapped heading fixtures (02-headings*, 17-attributes,
19-heading-ids). Removes those six entries from KNOWN_GAPS now that the
vendored corpus matches the renderer's PART 9 §13 output.

228/228 tests pass (no skips, no todos).
@dereuromark
dereuromark merged commit cac1bb7 into main May 21, 2026
2 checks passed
@dereuromark
dereuromark deleted the chore/bump-spec-section-corpus branch May 21, 2026 11:53
dereuromark added a commit that referenced this pull request May 21, 2026
…18)

Implements two rules from carve PR #17 (grammar PART 9 §11 + §12).

§11 -- LIST MARKER CHANGE STARTS A NEW LIST
parseList now captures the first item's unordered marker character and
terminates the list when a sibling at the same indent uses a different
character (`-` vs `*` vs `+`), so `- a / + b` renders as two lists
instead of one. interruptsParagraph is updated in lockstep: a marker
line only interrupts a paragraph when the next line shares BOTH the
marker character and the task-vs-plain kind -- otherwise the lines are
two lone single markers and stay prose (`para / - a / + b` is one
paragraph; `para / - a / - b` is paragraph + list). Ordered lists have
only the digit `.` dialect here, so no ordered split.

§12 -- ADMONITION TITLE
A <p class="admonition-title"> is emitted ONLY when the opener carries
a double-quoted title; the quote delimiters are stripped (previously
they leaked into the rendered text and got smart-curled). Unquoted
trailing text is no longer treated as a title. A title followed by an
attribute block keeps the title; an explicitly empty "" still emits an
empty title element.

New test/list-marker-and-admonition.test.ts (13 cases). 241 tests pass;
typecheck clean.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant