Skip to content

Commit

Permalink
Исправлено экранирование _
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 authored May 22, 2022
1 parent c14d85c commit 39910ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ class TelegramNotification implements Serializable {

@NonCPS
private static String escapeStringForMarkdownV2(String incoming) {
return incoming.replace('_', '\\-')
return incoming.replace('_', '\\_')
.replace('*', '\\*')
.replace('[', '\\[')
.replace(']', '\\]')
Expand Down

0 comments on commit 39910ba

Please sign in to comment.