mod/notification-telegram: format percentage italic

This commit is contained in:
Christian Hesse 2024-04-29 13:34:30 +02:00
parent 0fd1e506ba
commit 40f13b6ca4

View file

@ -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 {