🐛 BUG: Using HTML inside markdown produces additional space. #3493
Labels
- P4: important
Violate documented behavior or significantly impacts performance (priority)
feat: markdown
Related to Markdown (scope)
What version of
astro
are you using?beta-38
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Mac
Describe the Bug
The component seems to produce additional whitespace when using HTML tags inside markdown files. This issue seems to arise because a newline is inserted for content after the HTML tag. This behavior does not follow the HTML spec. Notice the space before the full stop in the reproduction.
FYI, it didn't produce the extra space in beta-34.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-ut8fqd?file=src%2Fcontent%2Ftest.md
Participation
The text was updated successfully, but these errors were encountered: