Skip to content

🐛 BUG: Child astro components inside tables do not compile correctly  #384

@KyleFontenot

Description

@KyleFontenot

What version of astro are you using?

1.0.0-beta.27

Are you using an SSR adapter? If so, which one?

No

What package manager are you using?

yarn

What operating system are you using?

Mac

Describe the Bug

When using a child astro component inside of a table, output seems to have compilation error. Tags and attributes look as if they stripped and placed in wrong order. Using trs and tds in the parent table works, but only don't work when injecting from a child component.
Haven't tested other elements yet inside of tables besides td and tr.
Discovered when wanting to refactor a tr and/or series of tds.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-s7anwc?file=src/pages/index.astro

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

Labels

- P3: minor bugAn edge case that only affects very specific usage (priority)table

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions