From f6f2ca2cc0bfb6c4fd080db146495c555cc8d3e1 Mon Sep 17 00:00:00 2001 From: Deivasigamani Duraisamy <61077834+Lddeiva@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:27:16 +0530 Subject: [PATCH] Add `Wrap: true` to msteamsv2 receiver `text` `TextBlock` used for `text` in msteamsv2 receiver must have `wrap: true` to display the content correctly #4088 Signed-off-by: Deivasigamani Duraisamy <61077834+Lddeiva@users.noreply.github.com> --- notify/msteamsv2/msteamsv2.go | 1 + 1 file changed, 1 insertion(+) diff --git a/notify/msteamsv2/msteamsv2.go b/notify/msteamsv2/msteamsv2.go index d3e7c12303..aeeabbb7eb 100644 --- a/notify/msteamsv2/msteamsv2.go +++ b/notify/msteamsv2/msteamsv2.go @@ -166,6 +166,7 @@ func (n *Notifier) Notify(ctx context.Context, as ...*types.Alert) (bool, error) { Type: "TextBlock", Text: text, + Wrap: true, }, }, },