mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-08 09:04:28 +02: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={
|
:if ($Truncated = true) do={
|
||||||
:set Text ($Text . "\n" . [ $SymbolForNotification "scissors" ] . \
|
:set Text ($Text . "\n" . [ $SymbolForNotification "scissors" ] . \
|
||||||
[ $EscapeMD ("The message was too long and has been truncated, cut off " . \
|
[ $EscapeMD ("The message was too long and has been truncated, cut off _" . \
|
||||||
(($LenSum - [ :len $Text ]) * 100 / $LenSum) . "%!") "plain" ]);
|
(($LenSum - [ :len $Text ]) * 100 / $LenSum) . "%_!") "plain" "_" ]);
|
||||||
}
|
}
|
||||||
|
|
||||||
:do {
|
:do {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue