MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
277 stars 501 forks source link

Adaptive card not supporting markdown in mobile teams #10997

Open kumarUtsav-01 opened 1 month ago

kumarUtsav-01 commented 1 month ago

Steps to reproduce

We are experiencing a problem with consistency of content displayed in an adaptive card generated when a link is unfurled.

We have a use case of showing a hyphen '-' when there is no data available for the field when the card is unfurling. As hyphen is evaluated to a dot when rendering a card, we are using − markdown for showing hyphen.

Hyphen is displayed in run time when card is rendered in browser and desktop scenario, but, the same card shows − when rendered inside mobile teams app.

Behavior in browser and desktop teams app -

Screenshot 2024-06-06 at 12 08 31 PM

Behavior in mobile teams app -

Screenshot 2024-06-06 at 12 08 07 PM

Expected behavior

Instead of showing − as text, it should have evaluated the same to a hyphen (-) when card is generated.

Actual behavior

− is shown as a string.

Error details

No response

microsoft-github-policy-service[bot] commented 1 month ago

Hi kumarUtsav-01! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

ChetanSharma-msft commented 1 month ago

@kumarUtsav-01 - Thanks for raising your query. We will look into it and let you know the updates.

Meghana-MSFT commented 1 month ago

@kumarUtsav-01 - We are also able to repro this issue. we have raised a bug for the same, we will keep you posted on the updates. Thank you.