opencompletion.com/templates
russell@unturf.com b2fb60d1b7
fix(tts): skip inlined sender header when wrapping sentences
chat_message (non-streaming) renders the sender header as the first
paragraph inside .message-content — '<p><strong>[name](link):</strong></p>'.
message_chunk uses a separate .message-header div, but the inline pattern
made the sender name sentence 0, so manual Play highlighted the model
name instead of the actual first sentence (and auto-play got every
highlight shifted by one because domIndexFor ratioed around it).

Detect the pattern (top-level <p> with one <strong> child, text ending
in ':') and exclude it from the sentence walk via a TreeWalker filter.

Also drops the diagnostic logging from cdf3c7c.
2026-06-03 18:28:00 -04:00
..
auth.html Redesign user interface across all pages (#42) 2025-11-12 09:24:49 -05:00
base.html ui: add dark/light theme toggle above Auto-Play TTS 2026-05-29 12:51:07 -04:00
browse.html Fix theme flash and add logout to profile page 2025-11-30 10:00:48 -05:00
chat.html fix(tts): skip inlined sender header when wrapping sentences 2026-06-03 18:28:00 -04:00
index.html ui: drop misleading homepage stats (active users, active rooms) 2026-06-02 09:19:11 -04:00
profile.html Fix theme flash and add logout to profile page 2025-11-30 10:00:48 -05:00
search.html Redesign user interface across all pages (#42) 2025-11-12 09:24:49 -05:00