Commits
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