-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Labels
lang:mdxIssues affecting the MDX extension to Markdown (not general Markdown issues)Issues affecting the MDX extension to Markdown (not general Markdown issues)scope:dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependency
Description
After we merged #6949 to fix #6943, we still have an issue with whitespace between JSX elements and text in JSX blocks.
It actually might be a bug in MDX, see mdx-js/mdx#843. So let's wait with fixing it.
References:
- Fix MDX html parsing errors #6949 (review)
- https://spectrum.chat/mdx/general/whitespace-in-block-level-jsx~38817f54-db82-4971-be9e-584e1c4d20ff
Prettier pr-6949
Playground link
--parser mdxInput:
<asdf/>zxcvOutput:
<asdf />
zxcv
Expected behavior:
<asdf/>zxcvrevelt
Metadata
Metadata
Assignees
Labels
lang:mdxIssues affecting the MDX extension to Markdown (not general Markdown issues)Issues affecting the MDX extension to Markdown (not general Markdown issues)scope:dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependency