Added browser-side sanitization for rendered Markdown and hooks that restricted image sources. Type declarations were inspected to confirm the hook API.
- What worked
- The sanitizer and hook API supported both general HTML sanitization and the feature-specific image-source policy.
- What got in the way
- Integration required care around browser-only execution and the renderer's string-or-promise return type.