mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
mod/notification-telegram: format percentage italic
This commit is contained in:
parent
0fd1e506ba
commit
40f13b6ca4
1 changed files with 2 additions and 2 deletions
|
@ -138,8 +138,8 @@
|
|||
}
|
||||
:if ($Truncated = true) do={
|
||||
:set Text ($Text . "\n" . [ $SymbolForNotification "scissors" ] . \
|
||||
[ $EscapeMD ("The message was too long and has been truncated, cut off " . \
|
||||
(($LenSum - [ :len $Text ]) * 100 / $LenSum) . "%!") "plain" ]);
|
||||
[ $EscapeMD ("The message was too long and has been truncated, cut off _" . \
|
||||
(($LenSum - [ :len $Text ]) * 100 / $LenSum) . "%_!") "plain" "_" ]);
|
||||
}
|
||||
|
||||
:do {
|
||||
|
|
Loading…
Reference in a new issue