adding a gsub line to remove extraneous newlines from output
Merge pull request #19 from oreillymedia/sarah

Adding a gsub line to remove extraneous newlines from output