Files
openai-status-bot/internal
tiennm99 c119386073 fix(bot): truncate messages on HTML-safe boundaries
Fixed-index truncation could split an HTML tag or entity or drop a closing tag, making Telegram reject the whole message with 'can't parse entities'. Cut on a newline boundary where tags are balanced, reserve room for a truncation notice, and strip any trailing partial markup.
2026-06-26 15:48:34 +07:00
..