fix(parser): read YAML quote escapes in frontmatter values #334
No reviewers
Labels
No labels
bug
discussion
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gram-lang/gram!334
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/frontmatter-quote-escapes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Frontmatter values looked like YAML but their quotes were only stripped, so
'baker''s'showedbaker''s.''is an apostrophe; inside double quotes,\"and\\\\are a quote and a backslash (only these escapes, no full YAML parser).['salt, pepper', 'x']has two items).grammar-edge-cases.test.ts, a sentence indocument-structure.mdx(en + fr), apatchchangeset.Checked: build, full
bun test(4521), conformance (no golden change), fuzz 20k iterations clean.