|
All checks were successful
BotUI CI/CD / build (push) Successful in 59s
When HTML content is streamed incrementally, injecting partial HTML into the DOM causes the browser to malform or discard incomplete tags. Changes: - In addMessage(): For streaming HTML (has msgId), show as escaped text initially - In updateStreaming(): For HTML content, show plain text during streaming - In finalizeStreaming(): Render complete HTML only when streaming is done - This ensures HTML is only rendered when the full content is received Applies to both chat.html and partials/chat.html |
||
|---|---|---|
| .. | ||
| chat.css | ||
| chat.html | ||
| chat.js | ||
| projector.html | ||