appleboy / appleboy/telegram-action

Symbol "\" in messages when use code or link in markdown

Open
#30 4 comments 3 reactions 0 assignees View on GitHub
bug
Dominant language
Dockerfile
Stars
1k
Forks
126
Avg merge
7m
Merged PRs (30d)
1

Description

Hi, I think I found small bug)

When I use `format: markdown`, use string with letter "_" as first symbol (folder name in my situation) and as result different cases:
- "_Some text" as normal text - ok
- `_Some text` with "'" symbol around - as result "\_Some text" in Telegram message I see symbol "\" as first
- [_Some text](some link) - "\" symbol too in Telegram, as result "\_Some text"

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with format: markdown using the three underscore examples in the report, then trace the action's message-formatting and Telegram-send entry points. Done means inline code and linked text no longer produce a leading backslash in the delivered Telegram message, while the plain-text case remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
dockerfile, github-actions, markdown
Domain
ci-cd, content, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.