Sam reported that /locations/ashland/ was broken and suspected other pages were too. Investigation revealed the root cause: an earlier session's batch task had stripped <style> tags from ~270 WordPress items (pages and posts) while attempting to clean up CSS comments. This session became a multi-day emergency fix covering three major workstreams:
<style> tags across all 309 affected pages and 198 affected postsThe session evolved from "fix this one page" to "fix the entire site" to "prevent this from ever happening again."
The earlier batch task had used a regex that stripped <style>...</style> blocks from page content while trying to remove CSS comments. Three batch passes plus manual fixes restored all affected items:
<style in raw content (regex restoration)All 309 pages and 198 posts were verified clean via API checks after restoration.
Sam's personal bio page at /about-us/meet-our-team/sam-aguiar/ had multiple issues beyond the style-tag stripping. Full list of fixes applied:
<!-- wp:html --> wrapper (nested block-in-block)sag-fade-in CSS fallback so content is visible even when WP Rocket delays JavaScript (the page uses a fade-in animation triggered by JS; without the fallback, content was invisible until JS loaded)