Forum Discussion
CedricZimmermann
Nov 07, 2024Brass Contributor
CSS Properties being stripped from Teams Chat messages from Bot
Hi Team, We've noticed that certain CSS properties are no longer appearing in HTML messages when sent to Teams Chat. Previously, our bot styled messages using display and border properties, but now ...
CedricZimmermann
Feb 19, 2025Brass Contributor
Hey Meghana-MSFT, any news about the bug you raised for this issue?
Meghana-MSFT
Microsoft
Feb 20, 2025Hi CedricZimmermann - Engineering team said that this behavior is by design. Teams Desktop/Web client has implemented new guidelines on what HTML elements and styling is allowed, which is why these properties are getting stripped out. Engineering team is working on updating the document to list out the allowed HTML elements.