Changing to addslashes
adding slashes
Merge pull request #74 from spekary/feature-QOnEvent

Adding slashes. Travis failed but I think that's a fluke.