diff --git a/posthog/cdp/templates/microsoft_teams/template_microsoft_teams.py b/posthog/cdp/templates/microsoft_teams/template_microsoft_teams.py index c1ce7afc5a909..23891c54d28df 100644 --- a/posthog/cdp/templates/microsoft_teams/template_microsoft_teams.py +++ b/posthog/cdp/templates/microsoft_teams/template_microsoft_teams.py @@ -27,7 +27,8 @@ 'body': [ { 'type': 'TextBlock', - 'text': inputs.text + 'text': inputs.text, + 'wrap': true } ] } diff --git a/posthog/cdp/templates/microsoft_teams/test_template_microsoft_teams.py b/posthog/cdp/templates/microsoft_teams/test_template_microsoft_teams.py index 737f9d1722047..0074315879451 100644 --- a/posthog/cdp/templates/microsoft_teams/test_template_microsoft_teams.py +++ b/posthog/cdp/templates/microsoft_teams/test_template_microsoft_teams.py @@ -40,6 +40,7 @@ def test_function_works(self): { "type": "TextBlock", "text": "**max@posthog.com** triggered event: '$pageview'", + "wrap": True, } ], },