Skip to content

fix(parser): frontmatter error path for UTF-8 - #23159

Merged
ChayimFriedman2 merged 1 commit into
rust-lang:masterfrom
grezzko:issue#22880
Aug 16, 2026
Merged

ChayimFriedman2 merged 1 commit into
rust-lang:masterfrom
grezzko:issue#22880

Conversation

@grezzko

@grezzko grezzko commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Closes #22880

Resolves panics caused by non-ASCII character in closing fence of frontmatter.

This pr syncs the solution already implemented in Cargo PR #17274, the upstream fix.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 16, 2026

@ChayimFriedman2 ChayimFriedman2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ChayimFriedman2
ChayimFriedman2 added this pull request to the merge queue Aug 16, 2026
Merged via the queue into rust-lang:master with commit bb3bbbd Aug 16, 2026
18 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 16, 2026
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.

panic: end byte index 2 is not a char boundary; it is inside '│' (bytes 1..4 of string)

3 participants