/** * Lightweight allowlist-based HTML sanitizer that works in both server (SSR) * and browser contexts without external dependencies. * * Strips the most dangerous XSS vectors from CMS-provided HTML: * -