In content builder when saving a code resource server side code is getting removed
Salesforce says this is fixed.
Summary
When saving a code resource with a script tag that uses single quotes around 'runat=server' the Content Builder sanitizer will strip the entire tag block. Example
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Solution Deployed with 34 reports
Nov 30, 2026
Also open in Email Studio
Marketing Cloud Users may be forced logged out before account Session Setting Timeout
Solution ScheduledMarketing / Email StudioReported Oct 10, 202383 reports83reports
Filtered Data Extension Filter Criteria Not Displaying and on Properties tab shows as Standard
Solution ScheduledMarketing / Email StudioReported Sep 10, 202536 reports36reports
CloudPage Interactive Content form submit not recording Click Tracking
In ReviewMarketing / Email StudioReported Jan 29, 202536 reports36reports
My Tracking | Bounce Export Time out
Solution ScheduledMarketing / Email StudioReported Mar 30, 202130 reports30reports