Skip to content

Commit

Permalink
🐛 escape ! from telegram message
Browse files Browse the repository at this point in the history
  • Loading branch information
lawzava committed Sep 7, 2020
1 parent e8668fb commit fda531a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/pkg/broadcast/telegram.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ func escapeTelegramText(text string) string {
"}", "\\}",
".", "\\.",
",", "\\,",
"!", "\\!",
)

return replacer.Replace(text)
Expand Down

0 comments on commit fda531a

Please # to comment.