From 772e66b6226f5f9a345bbef29a7453380b693ea1 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 25 Aug 2021 00:35:08 +0200 Subject: global-functions.d/notification-telegram: for syntax for ROS 7.x Strings with escape sequence have to be enclosed in parentheses. Looks like RouterOS 7.x is stricter here... --- global-functions.d/notification-telegram | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global-functions.d/notification-telegram b/global-functions.d/notification-telegram index 5643e58..4a05c9a 100644 --- a/global-functions.d/notification-telegram +++ b/global-functions.d/notification-telegram @@ -71,7 +71,7 @@ :global IfThenElse; :if ($TelegramFixedWidthFont != true) do={ - :return ($1 . [ $IfThenElse ($2 = "body") "\n" "" ]); + :return ($1 . [ $IfThenElse ($2 = "body") ("\n") "" ]); } :local Return $1; -- cgit v1.2.3-70-g09d2