also escape single quotes
Merge pull request #502 from doctrine/escape_single_quotes

also escape single quotes