summaryrefslogtreecommitdiff
path: root/src/pkg/go/doc/reader.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/go/doc/reader.go')
-rw-r--r--src/pkg/go/doc/reader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/go/doc/reader.go b/src/pkg/go/doc/reader.go
index 4fa6fd9d5..ed82c47cd 100644
--- a/src/pkg/go/doc/reader.go
+++ b/src/pkg/go/doc/reader.go
@@ -414,7 +414,7 @@ func (r *reader) readNote(list []*ast.Comment) {
// We remove any formatting so that we don't
// get spurious line breaks/indentation when
// showing the TODO body.
- body := clean(text[m[1]:])
+ body := clean(text[m[1]:], keepNL)
if body != "" {
marker := text[m[2]:m[3]]
r.notes[marker] = append(r.notes[marker], &Note{