mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Fix line break for MS teams webhook (#13081)
Signed-off-by: Ivan Valdes <ivan@vald.es> Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
		| @@ -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" | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user