5000 chars is too tight for signatures containing base64-embedded images (even a small PNG can run a few thousand chars).
- Restricts src to https: URLs or base64-embedded raster data: URIs (png/jpeg/gif/webp). - SVG is excluded for safety reasons. - Images with a disallowed src are removed entirely so they don't render as broken-image icons.