Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Telegram Bad Request: can't parse entities #1546

Merged
merged 2 commits into from
Dec 28, 2024

Conversation

azep-ninja
Copy link
Contributor

Relates to:

PR 1229

Risks

Low: Fixes TG message handling with markdown, introduced with PR 1229

Background

What does this PR do?

What kind of change is this?

Bug fixes (non-breaking change which fixes an issue):

Fixes TG messages "Bad Request: can't parse entities"

And still keeps markdown functionality for regular messages.

Why are we doing this? Any context or related work?

Documentation changes needed?

N/A

Testing

Where should a reviewer start?

Detailed testing steps

Added escapeMarkdown function within /utils.ts, imported to messageManager, and passing through TG messages.

Deploy Notes

N/A

Database changes

N/A

Deployment instructions

Discord username

ninja_dev

@monilpat monilpat merged commit b08e22c into elizaOS:develop Dec 28, 2024
5 checks passed
@azep-ninja azep-ninja deleted the fix--Telegram-Markdown-issues branch December 29, 2024 16:48
1to3for5vi7ate9x pushed a commit to 1to3for5vi7ate9x/eliza that referenced this pull request Jan 26, 2025
…n-issues

fix: Telegram Bad Request: can't parse entities
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.

3 participants