handle php single quotes (escaping)