-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(doc-core): flatten error when meeting $
in mdx file
#4234
Conversation
🦋 Changeset detectedLatest commit: fa4ae6f The changes in this PR will be included in the next version bump. This PR includes changesets to release 211 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #4234 +/- ##
==========================================
- Coverage 57.59% 56.33% -1.27%
==========================================
Files 672 662 -10
Lines 17794 18004 +210
Branches 3876 3936 +60
==========================================
- Hits 10249 10143 -106
- Misses 6934 7200 +266
- Partials 611 661 +50 ☔ View full report in Codecov by Sentry. |
Summary
Fix #4229
🤖 Generated by Copilot at a620b6a
This pull request fixes a bug in the
@modern-js/doc-core
package that could cause flattening error when meeting$
in mdx file. It updates theflattenMdxContent
function to use a safer replacement method and adds a changeset file to document the patch version update.Details
🤖 Generated by Copilot at a620b6a
$
in mdx file for@modern-js/doc-core
package (link, link)Related Issue
Checklist
pnpm run change
.