SOLVED: Colon removed from attribute

Bricks Version: 1.5.3
Browser: Chrome 90
OS: Windows

I am using AlpineJS, I have noticed that when I used colon in the attribute field it does not render on the frontend.

Example,

x-on:click.stop

becomes

x-onclick.stop

Hey Mohd,

I pretty sure you’ll find interest in this thread. Itchycode gives an example of how you can work around the sanitization.

2 Likes

Hi Mohammed,
Thanks so much for your report!

We’ll fix this in the upcoming Bricks 1.5.4 :slight_smile:

Best regards,
timmse

1 Like

Hi Mohammed,
We’ve fixed this bug in Bricks 1.5.4, now available as a one-click update within your WordPress Dashboard.

Please let us know if you are still experiencing issues.

Best regards,
timmse

1 Like