Replace new-lines with spaces in excerpt helper.

fixes #531
Merge pull request #1252 from halfdan/531-lines-to-spaces

Replace new-lines with spaces in excerpt helper.