Fix display of plain text containing multiple carriage returns before line feed.
Fix display of plain text containing multiple carriage returns before line feed.

Closes gh-2560

ipython/ipython,ipython/ipython