realworld icon indicating copy to clipboard operation
realworld copied to clipboard

Nested `<a>` elements are invalid

Open wackbyte opened this issue 1 year ago • 0 comments

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).

[^1]: 4.5.1 The a element — "...there must be no...a element descendant..."

wackbyte avatar Jun 01 '24 20:06 wackbyte