Fix /login URL markdown escaping in Ava Telegram

t-773·WorkTask·
·
·
Created1 week ago·Updated1 week ago·pipeline runs →

Description

Edit

/login currently prints raw URL in Telegram markdown. URLs with underscores get interpreted as italics and become invalid/unusable. Update message formatting to produce valid clickable links (e.g. markdown link or escaped URL) and add/adjust tests.

Timeline (4)

🔄[human]Open → InProgress1 week ago
💬[human]1 week ago

Fixed in commit 717ae893. /login OAuth prompts now format auth URLs as Telegram markdown links instead of raw URL lines, so underscores no longer trigger italic formatting and break links. Added helper formatOAuthUrlMarkdownLink plus URL sanitization for parentheses, and added two unit tests covering underscore URLs and parenthesis escaping. Verified with lint, typecheck.sh Omni/Ava/Telegram/Bot.hs, and bild Omni/Ava/Telegram/Bot.hs.

🔄[human]InProgress → Review1 week ago