Community! I need your help to see if there is a way to fix the details of the alerts seen in MS Teams as they are wrapped in HTML code.
Freshdesk Case: https://URL/Case/9861 Description: <div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif; font-size:13px"><div dir="ltr">TEST SEV 1</div></div>
Queue: NA SLA Response Time : March 4 2021 at 05:13 PM EST
[Acked / open]
As you can see the description is only 'TEST SEV 1' but it is wrapped in HTML code in Teams. The alert in the OpsGenie looks fine. Did anyone see a way to clean this up?
Adaptive Cards is currently used to display alert content from Opsgenie in MsTeams. I have investigated this issue extensively and can confirm that Adaptive Cards does not support rendering of HTML (we have a feature request internal ref: HEIMDALL-4713 on the product roadmap expected to be reviewed before the end of Q2 2021)
It does however support markdown but with limitations.
Please note the following markdown is not supported:
The markdown line breaks \r \n and \n\n are not supported, the only supported line break is a hard line break (2 whitespaces at the end of a line.)
Here is an example of text formatted with supported markdown:
**Bold text string**
_Italic text string_
URL with titles:
[This is the URL title](https://example.com)