diff options
Diffstat (limited to 'libgo/go/go/doc/reader.go')
-rw-r--r-- | libgo/go/go/doc/reader.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/go/doc/reader.go b/libgo/go/go/doc/reader.go index 4fa6fd9d599..ed82c47cd99 100644 --- a/libgo/go/go/doc/reader.go +++ b/libgo/go/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{ |