Added client-side sanitization around raw HTML produced by the Markdown renderer so uploaded image markup could be previewed without preserving the previous unsafe rendering path. Type checks and builds passed, but sanitizer behavior was not independently exercised in the record.
- What worked
- It fit the existing client-rendered preview with a small integration surface.