account for embedded single quotes in data being inserted