I have some custom JavaScript that is included in the Page Layout CSS & JavaScript dialog. I’m targeting some elements dynamically, but when the page is loaded, Beaver Builder is removing spaces inside of the template literal. This was working before, I’m not sure what update broke it. I had to switch to string concatenation.
Here’s an example, it’s really simple:
const first = "First";
const second = "Second";
console.debug( `${ first } ${ second }` );
// Output: FirstSecond
// Should be: First Second
Is anyone seeing similar issues? Was there an update that addresses this or is it a mistake?