5b3: surface the refusal an inline directive body holds
CI / gate (push) Successful in 8s

This commit is contained in:
2026-09-03 19:33:25 +02:00
parent aa177d1f8e
commit 440dab5430
4 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { backslashEscape, claimsPipeLine, trimSpace } from './commonmark-grammar
const alignmentCell = /^:-+:?$|^-+:$/
const delimiterCell = /^-+$/
// spec/flavour.md, Tables: the cells of a row the leading `|` no claim read, GFM's form without it.
// spec/flavour.md, Tables: the cells of a row no leading `|` claimed — GFM's form without the outer pipes.
export function barePipeCells(line: string): string[] | undefined {
const cells = splitPipeCells(line, 0)
return cells.length > 1 ? cells : undefined