cms icon indicating copy to clipboard operation
cms copied to clipboard

[5.x] Fix Custom Set Icons not working if path contains a dot (.)

Open andjsch opened this issue 7 months ago • 1 comments

This PR fixes an issue with the svg-icon component not showing the icon if the path contains a dot somewhere.

In my case, the site directory on the staging server is the name of the full domain, which of course, contains a dot. E.g. example.com.

The global helper function data_get() splits strings by . leading the function to not work as expected.

fixes #11864

andjsch avatar Jun 11 '25 14:06 andjsch

Here's the before: image

and here the after: image

andjsch avatar Jun 11 '25 14:06 andjsch