diff options
author | Christian Hesse <mail@eworm.de> | 2024-04-29 13:34:30 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-04-29 17:41:49 +0200 |
commit | 8eb1a122a4310f63e03d1b230085baba0c864fe2 (patch) | |
tree | 32dd763c57b889e9f0507a1941233873046329b5 | |
parent | 5246c2141f36d77c3beba968851191eac02808a2 (diff) |
mod/notification-telegram: format percentage italic
-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 { |