Added newline slurping

Hi, I missed this functionality, so decided to add it.