diff options
author | Iván Valdés <iv@nvald.es> | 2020-10-08 22:30:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-09 01:30:55 -0400 |
commit | 06f1cdde6edaf99a78ab18e0c1939a2d6ab30fde (patch) | |
tree | 2fc8462c98e9e332355ca6193d8dc25b0340f693 | |
parent | 508aca1cc01d881224c29727d2037f09c0a081dd (diff) | |
download | gitea-06f1cdde6edaf99a78ab18e0c1939a2d6ab30fde.tar.gz gitea-06f1cdde6edaf99a78ab18e0c1939a2d6ab30fde.zip |
Fix line break for MS teams webhook (#13081)
Signed-off-by: Ivan Valdes <ivan@vald.es>
Co-authored-by: Lauris BH <lauris@nix.lv>
-rw-r--r-- | modules/webhook/msteams.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/webhook/msteams.go b/modules/webhook/msteams.go index 80998d9f81..a68c97ea37 100644 --- a/modules/webhook/msteams.go +++ b/modules/webhook/msteams.go @@ -229,7 +229,7 @@ func (m *MSTeamsPayload) Push(p *api.PushPayload) (api.Payloader, error) { strings.TrimRight(commit.Message, "\r\n"), commit.Author.Name) // add linebreak to each commit but the last if i < len(p.Commits)-1 { - text += "\n" + text += "\n\n" } } |