Wrong format on MS Teams integration push events with multi line commit messages
Summary
The MS Teams notifications are not shown correctly on push events when we have multi line commit messages.
Steps to reproduce
- Setup MS Teams integration for push events.
- Push a commit with multi line commit message.
- On MS Teams Channel the details message is shown all on the same line
What is the current bug behavior?
Multi line commit messages are shown on the same line in MS Teams notifications.
What is the expected correct behavior?
Multi line commit messages should be shown in multiple line in MS Teams notifications.
Possible fixes
I think the fix should be change \n
to <br/>
just before send the message to MS Teams in order to show correctly the notifications.