From b37b115a67337c7a0209825f3c51551bacc59b15 Mon Sep 17 00:00:00 2001 From: "itoussies@centreon.com" Date: Thu, 24 Jul 2025 10:43:57 +0200 Subject: [PATCH] fix(notification-teams): fix notification output Refs:CTOR-1379 --- src/notification/microsoft/office365/teams/mode/alert.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/notification/microsoft/office365/teams/mode/alert.pm b/src/notification/microsoft/office365/teams/mode/alert.pm index 834be4e74..66fc10152 100644 --- a/src/notification/microsoft/office365/teams/mode/alert.pm +++ b/src/notification/microsoft/office365/teams/mode/alert.pm @@ -377,7 +377,8 @@ sub build_workflow_message { if (defined($self->{option_results}->{$resource_type . '_output'}) && $self->{option_results}->{$resource_type . '_output'} ne '') { push @{$self->{body}}, { type => "TextBlock", - text => "Status: " . $self->{option_results}->{$resource_type . '_output'} + text => "Status: " . $self->{option_results}->{$resource_type . '_output'}, + wrap => "true" }; } @@ -393,7 +394,7 @@ sub build_workflow_message { push @{$self->{body}}, { type => "TextBlock", text => "Additional Information: \n" . sprintf($self->{option_results}->{extra_info_format}, $1, $2), - "wrap" => "true" + wrap => "true" }; } }