Skip to content

net/textproto: DotWriter inserts extra newline #6743

@gopherbot

Description

@gopherbot

by sam.nguyen@sendgrid.com:

What steps will reproduce the problem?
1. Encode a string with textproto.Writer
2. When it is decoded, it contains an additional newline

Reproduction
http://play.golang.org/p/CBnfXtHpF4

Which compiler are you using (5g, 6g, 8g, gccgo)?
6g

Which operating system are you using?
linux

Which version are you using?  (run 'go version')
1.2rc3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions