We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
npm
macOS
Rendering a component like
<html> <body> <slot> <BodyComponent /> <div>two</div> </slot> </body> </html>
ends up with a , between the content of BodyComponent and the div that follows it
,
BodyComponent
div
Look at the rendering of index.astro in supplied MWE. The component causing the problem is MainComponent.astro
index.astro
MainComponent.astro
https://stackblitz.com/edit/astro-dj3jh6
The text was updated successfully, but these errors were encountered:
Fixed in #1406, it seems! Thanks for opening an issue.
See https://stackblitz.com/edit/astro-zcjh8p?file=src%2Fcomponents%2FMainComponent.astro for a working repro with next.
next
Sorry, something went wrong.
Following up on my previous comment, the team has decided to close out issues that have been confirmed as fixed by astro@0.21.0-next.0, astro@0.21.0-next.1, or astro@0.21.0-next.2. Our hope is that this will help the v0.21 milestone remain as actionable as possible.
To verify that this issue has been fixed, you may
astro@next
npm i astro@next # If using Framework renderers... npm i @astrojs/renderer-name@next
If you think we made a mistake, please re-open this issue!
If you run into any other problems with astro@next, please open a new issue.
No branches or pull requests
What package manager are you using?
npm
What operating system are you using?
macOS
Describe the Bug
Rendering a component like
ends up with a
,
between the content ofBodyComponent
and thediv
that follows itSteps to Reproduce
Look at the rendering of
index.astro
in supplied MWE. The component causing the problem isMainComponent.astro
Link to Minimal Reproducible Example (Optional)
https://stackblitz.com/edit/astro-dj3jh6
The text was updated successfully, but these errors were encountered: