Closed wija1024 closed 1 month ago
Hi @wija1024
Thanks for raising the issue related to HTML sanitisers and raising this PR. The code change is a little bit more complex as it requires sanitising markdown being streaming, and markdown snapshots loaded from conversation history.
I made the code change as part of commits that can be found here: https://github.com/nluxai/nlux/commits/latest/?since=2024-05-24&until=2024-05-25
As part of that code change:
htmlSanitizer?: SanitizerExtension
option to messageOptions
innerHTML = '...'
statementshtmlSanitizer
htmlSanitizer
I'm closing this PR as the work has been done in a separate stream. Thank you for your contribution.
The latest updates on your projects. Learn more about Vercel for Git βοΈ