You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, this may be hard to get around depending on specifically what you're referring to - any chance you could record a video, or give an example prompt? I did just fix a problem with code blocks - so they display more consistently/nicely during streaming. I may be able to do something similar with what you're talking about.
But if the LLM uses HTML in a response without marking it in this way, then the HTML gets rendered as if it were part of your UI, which naturally messes things up. I had to try very, very hard to get the LLM to make this mistake; but it can also happen if someone imports a conversation that uses the less-than and greater-than characters without markdown.
In most web projects that use arbitrary text, the right thing to do is to sanitize the text by replacing < with <, & with &, and so on. But it's trickier here, because you don't want to sanitize text that's already been marked down properly. So if this were my project, I'd be inclined to won't-fix it.
Title.
Ask for it to do anything in HTML, the thing shuffles in madness. Will you fix it so the output and input is properly escaped?
Thanks
The text was updated successfully, but these errors were encountered: