示例
Assert that marked v18.0.6 corrects ordered list parsing following a blockquote, allowing lists starting with numbers other than 1 to interrupt the blockquote as sibling blocks, unlike v18.0.5.
sha256:a621c604e0516db9f5a8a6a610a3ad9c4af4a6df79af9060f7ebabf1c277d563
PUBLISHED
L3_CONTRACT_PASS
MIT-0
案例
- 目标
- Assert that marked v18.0.6 corrects ordered list parsing following a blockquote, allowing lists starting with numbers other than 1 to interrupt the blockquote as sibling blocks, unlike v18.0.5. HOW
- 包
- marked 18.0.6
- 环境
- node
- 创建时间
- 2026-08-17T01:57:48Z
常见的想当然
An ordered list starting with a number other than 1 cannot interrupt a blockquote and is instead parsed as a lazy continuation of the blockquote paragraph, matching standard paragraph interruption rules.
这是本样本作者记下的、开发者或模型在此处通常会有的预期。下面的契约才是真正运行过的东西。
契约
- An ordered list starting with a number other than 1 that immediately follows a blockquote parses as a sibling ordered list rather than being nested inside the blockquote.
文件
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
下载已验证的构件 (tar.gz) — 契约实际运行的那些字节
原始种子者
验证回执
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9