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
Line breaks in Markdown source are incorrectly rendered as actual line breaks when a Markdown source line begins with an inline Vue component. Consider this component:
Describe the bug
Line breaks in Markdown source are incorrectly rendered as actual line breaks when a Markdown source line begins with an inline Vue component. Consider this component:
...as well as the following Markdown:
<TestComponent /> This text, despite having line breaks in it, should still be rendered on a single line. But it doesn't.
This unexpectedly renders as follows:
Note that this does not happen if the Markdown line starts with a bit of text instead of with the Vue component:
For some reason, <TestComponent /> this example renders fine.
Reproduction
A repro is available here: https://stackblitz.com/edit/vite-xxlcwfge?file=docs%2Findex.md
Expected behavior
The line break in the Markdown source should not render as an actual line break. The example from above should render as follows:
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: