Repository navigation
fix: make AI-generated structured text reliably copyable - #2
Merged
Merged
Conversation
Co-Authored-By: Claude Code <[email protected]>
Co-Authored-By: Claude Code <[email protected]>
Both templates now ask for exactly one fenced plain-text document, require literal markers inside the fence, and add role, quality, and conflict-handling guidance. Examples are fenced and still parse. Co-Authored-By: Claude Code <[email protected]>
Co-Authored-By: Claude Code <[email protected]>
Co-Authored-By: Claude Code <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Makes AI-generated structured text reliably copyable into OpenResume. Both instruction templates now require exactly one plain-text code block containing the complete document, keep literal
#,##, and###markers inside it, and are generated from parser-supported headings. Both parsers also strip one complete enclosing fence (text-labelled or unlabelled) before reading markers, so a copied code block can be pasted as-is.This fixes the workflow failure where chat interfaces rendered Markdown headings and the copied response lost the markers OpenResume needs.
Type of change
Checklist
<type>/<description>..envfiles are included.npm run checkpasses.Verification
npm run format:check,npm run lint,npm run typecheck,npm test(231 tests across 20 files), andnpm run buildall pass.🤖 Generated with Claude Code