Fix bug where only the first escape character would be escaped.
Merge pull request #77 from RickEyre/escape-char

Fix bug where only the first escape character would be escaped.