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

Nested <a> elements are invalid #171

Closed
wackbyte opened this issue Jun 1, 2024 · 0 comments
Closed

Nested <a> elements are invalid #171

wackbyte opened this issue Jun 1, 2024 · 0 comments

Comments

@wackbyte
Copy link
Contributor

wackbyte commented Jun 1, 2024

The ArticlePreview component uses <a> to contain the article information, but then uses <a> in the list of tags within. This is invalid HTML,1 and is denied in more recent versions of the Svelte compiler (5.0.0-next.36 via sveltejs/svelte#10199).

Footnotes

  1. 4.5.1 The a element — "...there must be no...a element descendant..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant