Skip to content

Vue shouldn't automatically execute code in <noscript> tag #10181

@levsha87

Description

@levsha87

Vue version

3.4 and higher

Link to minimal reproduction

https://github.com/levsha87/vue3.4-noscript

Steps to reproduce

In the Vue component, embed a block with the noscript tag with a nested resource image . Open in browser. https://levsha87.github.io/vue3.4-noscript/ (Look elements tab in dev tools)

What is expected?

Vue 3 does not automatically parse resources embedded in a noscript tag.

What is actually happening?

Vue 3 automatically parses and loads resources embedded in the noscript tag

System Info

No response

Any additional comments?

Vue 3.4 and higher handle nested image in the noscript tag. In our case, the image is loaded, but in version 3.3.13 everything works correctly (the image remains a string in the noscript tag without loading).
compile_noscript

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions