Fixed lineContents printing a newline