Skip to content
New issue

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

<td> in <a href={variable}>{variable}</a> error #958

Open
1 task
miya-spit opened this issue Jan 31, 2024 · 1 comment
Open
1 task

<td> in <a href={variable}>{variable}</a> error #958

miya-spit opened this issue Jan 31, 2024 · 1 comment
Assignees
Labels
- P5: urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority)

Comments

@miya-spit
Copy link

miya-spit commented Jan 31, 2024

Astro Info

Astro                    v4.2.4
Node                     v20.11.0
System                   Windows (x64)
Package Manager          pnpm
Output                   static
Adapter                  none
Integrations             none

If this issue only occurs in one browser, which browser is a problem?

Edge

Describe the Bug

I have found a bug in Astro 4.2.7. When placing an tag inside a tag within a

, and using variables for its attributes and enclosed text, the tag is incorrectly positioned outside the
tag. The same issue occurs with and tags.

GFIlEa7bwAA33ly

What's the expected result?

<a> does not go out of <table> and is output correctly.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/withastro-astro-guu8qe?file=src%2Fpages%2Findex.astro

Participation

  • I am willing to submit a pull request for this issue.
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Jan 31, 2024
@MoustaphaDev MoustaphaDev added the - P4: important Violate documented behavior or significantly improves performance (priority) label Feb 2, 2024
@github-actions github-actions bot removed the needs triage Issue needs to be triaged label Feb 2, 2024
@MoustaphaDev
Copy link
Member

Thanks for reporting this! I'll move this to the compiler repo to track it there

@MoustaphaDev MoustaphaDev transferred this issue from withastro/astro Feb 2, 2024
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Feb 2, 2024
@MoustaphaDev MoustaphaDev added - P5: urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority) and removed - P4: important Violate documented behavior or significantly improves performance (priority) needs triage Issue needs to be triaged labels Feb 2, 2024
@MoustaphaDev MoustaphaDev self-assigned this Feb 6, 2024
MoustaphaDev added a commit that referenced this issue Mar 6, 2024
MoustaphaDev added a commit that referenced this issue Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- P5: urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority)
Projects
None yet
Development

No branches or pull requests

2 participants