escaping double quote

This is my second attempt at this and I think I got the escaping correct this time.

I had an issue where someone put a double quote in so I changed the code to provide for this possibility.