Skip to content

Commit 7486c92

Browse files
jace-ryanclaude
andcommitted
feat: replace regex markdown with marked.js + DOMPurify
- Swap fragile regex chain for marked.js (proper GFM rendering) - Add DOMPurify to sanitize LLM output before innerHTML injection (prevents XSS via prompt injection in LLM responses) - Add CSS for markdown tables, checkboxes, and horizontal rules Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3581961 commit 7486c92

1 file changed

Lines changed: 449 additions & 237 deletions

File tree

0 commit comments

Comments
 (0)