[SOLVED] Unwanted behaviour on renaming classes

PHP : 8.1
Bricks Version : 1.5 beta
Browser : Microsoft Edge Version 103.0.1264.71 (Official Build) (64-bit)
OS : Windows.
URL: (a link to a page that illustrates the issue would be really helpful)

[Please describe in as much detail as possible how we can replicate this bug]

Bricks’ Classes system is pretty cool :sunglasses::heart:. The global classes support non-alphanumeric characters. (Other builder does not support non-alphanumeric :roll_eyes:).

I assigned TailWind CSS class names to each element successfully.
But, renaming some classes that contain non-alphanumeric characters, sometimes those characters got removed or vanished.

EXAMPLE:

Original

[&_.testimony--title>div_a]:text-[#000]

image

Renamed

[&_testimony--title>div_a]:text-[fff]

image

Expectation

[&_.testimony--title>div_a]:text-[#fff]

1 Like

Hello @suabahasa

Thank you for your report.

I’ve added this to our bug tracker to be investigated.

1 Like

This should have been fixed in the latest 1.5 RC2 :partying_face:

Class name dots (.) and pound (#) are now only removed if the class name starts with them.

2 Likes