-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
needs triageIssue needs to be triagedIssue needs to be triaged
Description
Astro Info
Astro v5.15.5
Vite v6.4.1
Node v24.6.0
System macOS (arm64)
Package Manager npm
Output static
Adapter none
Integrations none
Describe the Bug
When using the <noscript> element inside a string that gets parsed as html with set:html. The children of the element gets parsed as a text node.
Reproductie
- Checkout repo
- Run
npm run dev - Go to the index page
- Inspecting it with dev tools
- In the console you can run
document.querySelector("noscript")
You will see that the iframe inside of the noscript element is a text node.
What's the expected result?
That all the HTML in the provided string gets parsed by set:html
Link to Minimal Reproducible Example
https://github.com/RogierdeRuijter/set-html-noscript-element
Metadata
Metadata
Assignees
Labels
needs triageIssue needs to be triagedIssue needs to be triaged