Spaces:
Runtime error

Adrien Denat Eliott C. commited on
Commit
3c71c00
·
unverified ·
1 Parent(s): e02c369

add basic html sanitizing (#40)

Browse files

* add basic html sanitizing

* fix prose overriding styling of code block

* lazy load HTML sanitizer

* simplify sanitization

* make sure sanitizedContent is kicking in on prop changes

Co-authored-by: Eliott C. <coyotte508@gmail.com>

* fix reactive statement not running on SSR

---------

Co-authored-by: Eliott C. <coyotte508@gmail.com>

2 files changed +8 -4
Files changed (2)
src/lib/components/chat/ChatMessage.svelte+7-3
src/styles/main.css+1-1