Forum Discussion

Usama5's avatar
Usama5
Copper Contributor
Feb 01, 2021

Microsoft Teams escaping underscores in text

Hi Team,
I have following function in ruby to send aws logs to microsoft team channel through webhook. Some text contains underscore signs like connection_web but appears like connectionweb in MS teams. How to get the exact output ?
Reference code is available on following url: https://stackoverflow.com/questions/65923762/microsoft-teams-escaping-underscores-in-text

2 Replies

  • michaelrday's avatar
    michaelrday
    Copper Contributor
    I don't know how to get around it with what you are doing, but for anyone else that has this problem in just writing messages in Teams, I wrote what I wanted to say in Notepad++, then copied and pasted it into the chat. It worked great.