Closed FelixZY closed 2 years ago
I don’t know a way to do it right now.
We can add some escape code. How \u003A
works right now?
Right now, \u003A
produces .my-component\u003Adisabled
Can you send PR to replace \u
characters on inserting the variable value?
Sure, I'll take a look. Will get back to you at the end of next week at the latest, probably sooner.
@ai PR created
The fix was released in 7.0.
I'm using this plugin to have a SSOT for my selector:
However, due to the way I split my code, I would like to do the following:
Unfortunately this causes my build to fail:
I have attempted:
\u003A
instead of:
.my-component:disabled
(both single and double quotes)\:
,\\:
,$:
)However, none of these attempts have succeeded. Most make the above error go away, but instead cause the selector to fail.
Any ideas how to use colons in variable values, for cases where the variable is used as a selector?