mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2024-12-04 10:34:42 +02:00
Исправлено экранирование _
This commit is contained in:
parent
c14d85c20f
commit
39910ba1f0
@ -224,7 +224,7 @@ class TelegramNotification implements Serializable {
|
||||
|
||||
@NonCPS
|
||||
private static String escapeStringForMarkdownV2(String incoming) {
|
||||
return incoming.replace('_', '\\-')
|
||||
return incoming.replace('_', '\\_')
|
||||
.replace('*', '\\*')
|
||||
.replace('[', '\\[')
|
||||
.replace(']', '\\]')
|
||||
|
Loading…
Reference in New Issue
Block a user