Fixe quote handling in event recording