Escape quotes in input field values