You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actions can be defined on objects and just used via use:object.property, if the property is not a valid JS symbol, it has to be escaped which right now does not happen.
Reproduction
<script>
consta= { 'set-color': (node, c) =>node.style.color= c };
</script>
<spanuse:a.set-color={'red'}>Text</span>
Describe the bug
Actions can be defined on objects and just used via
use:object.property
, if the property is not a valid JS symbol, it has to be escaped which right now does not happen.Reproduction
v4 ✔️
v5 ❌
Compiled bit of code:
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: