Forum Discussion

TamNguyen's avatar
TamNguyen
Copper Contributor
Oct 12, 2020

[Teams] Button label on iPhone does not escape html

Hello,
I see the button label on iphone does not escape html

But on Android and PC do. 

Please help me to check this issue, is that a bug?

 

 

  • TamNguyenWhat type of a card is this - Adaptive, hero, thumbnail?? Also would you be able to share the payload. you can DM if you want.

    • TamNguyen's avatar
      TamNguyen
      Copper Contributor

      Tushar Pathak Thank you for your reply!
      I'm using hero card.

      This is my payload:

      const candidates = ['Q&;A', 'Don't'];
      const card = CardFactory.heroCard('', undefined, candidates, { text: 'alo' });

      Please take a look! 
      Thanks!

      • Tushar Pathak's avatar
        Tushar Pathak
        Icon for Microsoft rankMicrosoft

        TamNguyen There is some work needs to be done by our team to work it seamlessly on IOS. But until that happens you can try to add angular braces around the text. Something like this <Q&amp;;A> and let us know it resolve the issue?

Resources