Pasted sequence may contain spaces instead of \n

If input sequence is copied from a web page, it could contain spaces instead of new line characters which makes it look like only header is pasted but actual sequence is missing.