mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
mod/notification-telegram: format percentage italic
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user