escape quotes in event recorder (bug 246)