You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix editorial workflow adding code fences to files (#676)
LLMs often wrap their markdown output in ```mdx or ```markdown code
fences, even when instructed to return only the content. This caused
the editorial review workflow to commit files with spurious code fence
markers at the beginning and end.
Added stripCodeFences() helper that removes these markers from only
the start and end of responses, preserving any legitimate code blocks
within the content.
Fixes issue seen in PR #673.
Co-authored-by: Rachel Lee Nabors <[email protected]>
Co-authored-by: Claude Opus 4.5 <[email protected]>
0 commit comments