potential fix. requires further testing. note that another possible bug has been found in the process. will be added to issues.
I hereby admit defeat at the hands of the new-line character.
merged with changes to master
Merge pull request #5 from TriggeredMessaging/fix-newline-ignore

Fix newline ignore