mirror of
https://github.com/Kong/insomnia.git
synced 2026-11-05 20:43:52 -05:00
SafeHTML is a nominal string type only markdownToHTML can produce. MarkdownPreview's compiled-HTML state is now typed SafeHTML, so any future edit that assigns a plain string into that state (bypassing the DOMPurify sanitizer) fails type-check instead of silently reaching dangerouslySetInnerHTML.