Repository navigation
Fix MDX syntax errors blocking Vercel deployment - #60
Merged
hotlong merged 2 commits intoFeb 1, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ead-management.mdx Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Refactor content documentation for clarity and efficiency
Fix MDX syntax errors blocking Vercel deployment
Feb 1, 2026
hotlong
marked this pull request as ready for review
February 1, 2026 02:02
There was a problem hiding this comment.
Pull request overview
This PR fixes MDX syntax errors that caused Vercel deployment failures. The MDX parser was incorrectly interpreting comparison operators (< and >) followed by numbers as JSX tag delimiters, resulting in build errors.
Changes:
- Escaped
<and>comparison operators in numeric expressions using HTML entities (<and>) - Fixed 4 instances across 2 documentation files to prevent MDX parsing errors
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
content/docs/features/contracts-payments.mdx |
Escaped <40 health score threshold and <5% churn rate target in bullet lists |
content/docs/features/lead-management.mdx |
Escaped >70 and <30 lead score thresholds in Mermaid flowchart edge labels |
12 of 20 tasks
This branch was successfully deployed
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.
Description
Vercel build failed due to MDX parser treating
<in numeric comparisons as JSX tag delimiters. Escaped special characters with HTML entities.Type of Change
Changes Made
Error Pattern:
Fix:
Files Modified:
content/docs/features/contracts-payments.mdx: Escaped<40and<5%in health scoring and churn rate sectionscontent/docs/features/lead-management.mdx: Escaped>70and<30in Mermaid flowchart diagramTesting
npm test)npm run lint)npm run build)Checklist
Additional Notes
Validated all MDX files for similar patterns. No additional instances found.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.