ux icon indicating copy to clipboard operation
ux copied to clipboard

[TwigComponent] escape nesting separator with `::`

Open kbond opened this issue 1 year ago • 0 comments

Q A
Bug fix? no
New feature? yes
Issues Fix (partial) #1839
License MIT

If you require a Twig component attribute that includes a : (like x-on:click) you'll trigger the nested attribute system. This PR allows escaping : with ::. So to render x-on:click="!open", you can to write x-on::click="!open".

kbond avatar Jul 04 '24 17:07 kbond