Skip to content

Commit

Permalink
Wrap the markdown text block for (at least iOS) mobile devices
Browse files Browse the repository at this point in the history
Without the wrap, Teams would only render the first line on mobile which is a newline.

Signed-off-by: Dane Stevens <[email protected]>
  • Loading branch information
gogetdane committed Dec 9, 2024
1 parent 4f170d4 commit 8754f3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions notify/msteamsv2/msteamsv2.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ func (n *Notifier) Notify(ctx context.Context, as ...*types.Alert) (bool, error)
{
Type: "TextBlock",
Text: text,
Wrap: true,
},
},
MSTeams: MSTeams{
Expand Down

0 comments on commit 8754f3c

Please sign in to comment.