format title and description (summary) by escaping special characters