Make quote argument of cgi.escape optional