Skip to content

fix: honor fence length in markdown code-block protection#93

Merged
dacharyc merged 1 commit intoagent-ecosystem:mainfrom
icyJoseph:nested-fence-parity-bug
May 6, 2026
Merged

fix: honor fence length in markdown code-block protection#93
dacharyc merged 1 commit intoagent-ecosystem:mainfrom
icyJoseph:nested-fence-parity-bug

Conversation

@icyJoseph
Copy link
Copy Markdown
Contributor

extractMarkdownText hard-codes 3-backtick fences - with this PR, switch to parsing any valid number of backticks to open/close a fence

Copy link
Copy Markdown
Member

@dacharyc dacharyc left a comment

Choose a reason for hiding this comment

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

Nice fix - thanks for another PR! 🎉

@dacharyc dacharyc merged commit e1bdbae into agent-ecosystem:main May 6, 2026
2 checks passed
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.

2 participants