diff options
author | Christian Hesse <mail@eworm.de> | 2024-04-29 13:34:30 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-04-29 23:02:48 +0200 |
commit | 40f13b6ca45a15def2e63bab22d87ddf398c3cc7 (patch) | |
tree | a9c6dc90a65963ae99c4c90046d72d457339cb47 /mod/notification-telegram.rsc | |
parent | 0fd1e506badcce5580fc6505c423e4fe65db4d1e (diff) |
mod/notification-telegram: format percentage italic
Diffstat (limited to 'mod/notification-telegram.rsc')
-rw-r--r-- | mod/notification-telegram.rsc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/notification-telegram.rsc b/mod/notification-telegram.rsc index 4c2fd94..9a628ce 100644 --- a/mod/notification-telegram.rsc +++ b/mod/notification-telegram.rsc @@ -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 { |