This is why finding and replacing single quotes is a bad idea