Hi everyone,
I’m facing an issue in Copilot Studio (Teams channel) and need some guidance.
When a user sends a message sometimes is shows <div> tag:
Thanks
the bot displays it exactly as (from users end):
<div>Thanks</div>
instead of rendering or converting it to plain text (Thanks).
So essentially, HTML tags from user input are not being sanitized or stripped, and they appear directly in the chat.
Setup:
- Topic is triggered using “A message is received”
- Response is sent using a Message node
- We are not using Adaptive Cards and need to continue with Message node only
What I’ve checked so far:
- This is user input, not something generated from the bot response
- The issue occurs in the Teams channel
- I’m not explicitly adding any HTML formatting in my topic or flow

Report
All responses (
Answers (