Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add DOMPurify to sanitize user-generated HTML in the preferences section before rendering with dangerouslySetInnerHTML.