mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 20:56:51 +00:00
Other: Update golangci-lint to v1.50.0
This commit is contained in:
@ -215,8 +215,8 @@ func collectAttachments(p *parser.Parser) ([]*pmapi.Attachment, []io.Reader, err
|
||||
}
|
||||
|
||||
// buildBodies collects all text/html and text/plain parts and returns two bodies,
|
||||
// - a rich text body (in which html is allowed), and
|
||||
// - a plaintext body (in which html is converted to plaintext).
|
||||
// - a rich text body (in which html is allowed), and
|
||||
// - a plaintext body (in which html is converted to plaintext).
|
||||
//
|
||||
// text/html parts are converted to plaintext in order to build the plaintext body,
|
||||
// unless there is already a plaintext part provided via multipart/alternative,
|
||||
|
||||
Reference in New Issue
Block a user