Skip to content

svelte 5 : Attribute values containing {...} must be enclosed in quote marks, unless the value only contains the expression #12466

Closed
@zhihengGet

Description

@zhihengGet

Describe the bug

Attribute values containing {...} must be enclosed in quote marks, unless the value only contains the expression

when we have comment in handler, it errorrs

Reproduction

https://svelte-5-preview.vercel.app/#H4sIAAAAAAAACo2OTQ6CMBCFrzKZuAAlQXSHQOI5rAusQ9IIU0KnJqbp3U1h4dblfG_eT8DBjOSwvgXkfiKs8TrPWKB85nS4N41CWKCzftGJNE4vZpZOsZKRBLT1LNDCzkkvlB3zi-KkDZ61GMtgWC80EUuWQ0iKks1zaKG6bKDcA1Sn86k6w75MKCpuyl8TNw8vYhks69HoVxuyvO3-TItxHbsaXQ1h_V8LttAOC5zs0wyGnljL4ine4xdIOcThGQEAAA==

Logs

No response

System Info

windows

Severity

annoyance

Metadata

Metadata

Assignees

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