Tidy embedded line endings.

Closes #306.