When loading a CMS page, many scripts are removed from the page by the layout Java code.
Steps to Reproduce
The CMS homepage does not render the slider after upgrading from Eureka to Fuji.
- Launch CMS instance on Fuji.
A homepage with custom sliders renders as 3 separate banners on top of each other vertically when they should be horizontally displayed.
- Retest step 1 on a Eureka instance and the sliders are displayed properly.
- Navigate to a dynamic content block that contains the custom scripting for the slider.
- Add an empty script tag (<script></script>) above the custom scripting calling the slider.
- Relaunch the CMS site.
The slider works properly.
Related Problem: PRB624469