Skip to content

Telegram markdown code consistency#43

Merged
actuallyrizzn merged 2 commits intomainfrom
cursor/telegram-markdown-code-consistency-c5dc
Dec 15, 2025
Merged

Telegram markdown code consistency#43
actuallyrizzn merged 2 commits intomainfrom
cursor/telegram-markdown-code-consistency-c5dc

Conversation

@actuallyrizzn
Copy link

Align Telegram Bot plugin's markdown rendering with the Telegram plugin for consistent code block display.

The Telegram Bot plugin previously used sanitize_text() which flattened newlines, causing fenced code blocks to render incorrectly. This PR switches it to use MessageFormatter.format_response() and parse_mode="Markdown" to match the Telegram plugin's behavior, ensuring proper markdown and code block rendering.


Open in Cursor Open in Web

Co-authored-by: guesswho <guesswho@rizzn.com>
@cursor
Copy link

cursor bot commented Dec 15, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Co-authored-by: guesswho <guesswho@rizzn.com>
@actuallyrizzn actuallyrizzn marked this pull request as ready for review December 15, 2025 08:03
@actuallyrizzn actuallyrizzn merged commit 9df6ff0 into main Dec 15, 2025
1 check failed
@cursor cursor bot mentioned this pull request Jan 10, 2026
@actuallyrizzn actuallyrizzn deleted the cursor/telegram-markdown-code-consistency-c5dc branch January 15, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants