• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / tg-spam / 16426613289
81%
master: 83%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.23.3
DEFAULT BRANCH: master
Ran 21 Jul 2025 07:51PM UTC
Jobs 1
Files 28
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Jul 2025 07:46PM UTC coverage: 81.494% (-0.06%) from 81.558%
16426613289

Pull #310

github

umputun
Fix markdown escaping in admin info button callback

When clicking the Info button in admin chat for users with markdown
special characters in their names (like underscores), the user link
was lost because the text was re-parsed as markdown without escaping.

This fix escapes the message text before appending spam detection
results, ensuring user links are preserved for all usernames.

- Added escapeMarkDownV1Text() call in callbackShowInfo
- Added comprehensive tests for both normal and special character usernames
- Renamed test function to be more descriptive
- Added documentation to escapeMarkDownV1Text function
Pull Request #310: Fix markdown escaping in admin info button callback

2 of 2 new or added lines in 1 file covered. (100.0%)

4 existing lines in 1 file now uncovered.

5095 of 6252 relevant lines covered (81.49%)

64.71 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
4
86.13
-1.68% app/events/events.go
Jobs
ID Job ID Ran Files Coverage
1 16426613289.1 21 Jul 2025 07:51PM UTC 28
81.49
GitHub Action Run
Source Files on build 16426613289
  • Tree
  • List 28
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #310
  • PR Base - master (#15912374525)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc