botui/ui
Rodrigo Rodriguez (Pragmatismo) 91e9701c3e
All checks were successful
BotUI CI/CD / build (push) Successful in 59s
fix: prevent broken HTML during streaming by deferring render to completion
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
2026-04-14 11:58:18 -03:00
..
embedded style: Format vibe.html for better readability 2026-03-01 22:36:15 -03:00
minimal fix: resolve infinite WebSocket reconnection loop 2026-02-25 10:15:47 -03:00
public/themes WIP: Various UI updates from previous session 2026-02-08 12:21:11 +00:00
shared - Spliting from botserver. 2025-12-03 18:42:22 -03:00
suite fix: prevent broken HTML during streaming by deferring render to completion 2026-04-14 11:58:18 -03:00