forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/lib/rich-text.test.tsxClear filter

2026-09-15

fix: 🔒 sanitize user-written HTML before rendering it - add lib/rich-text with a DOMPurify allow-list, plain-text excerpts and a Markdown-ish to HTML fallback for bodies stored before the rich editor - message bodies and homework submission text went straight to innerHTML; both now pass through sanitizeRichTextBurak Boduroğlu · 78600ff
fix: 🔒 sanitize user-written HTML before rendering it
- add lib/rich-text with a DOMPurify allow-list, plain-text excerpts and a
  Markdown-ish to HTML fallback for bodies stored before the rich editor
- message bodies and homework submission text went straight to innerHTML;
  both now pass through sanitizeRichText