sync-engine
sync-engine copied to clipboard
When getting calendar events from outlook.com, the description field includes HTML
When I create a calendar event on my outlook.com account, the description field in the event returned from Nylas contains some random HTML I did not enter:
{
"account_id": "...",
"busy": true,
"calendar_id": "...",
"description": "<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n<style type=\"text/css\" style=\"display:none\">\n<!--\np\n\t{margin-top:0;\n\tmargin-bottom:0}\n-->\n</style>\n</head>\n<body dir=\"ltr\">\n<div id=\"divtagdefaultwrapper\" dir=\"ltr\" style=\"font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif\">\n<div class=\"rps_7541\">\n<div>\n<div dir=\"ltr\">\n<div id=\"x_divtagdefaultwrapper\" dir=\"ltr\" style=\"font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols\">\n<p>Here is my description blah blah </p>\n</div>\n</div>\n</div>\n</div>\n</div>\n</body>\n</html>\n",
"id": "...",
"location": null,
"message_id": null,
"object": "event",
"owner": "[email protected] <[email protected]>",
"participants": [],
"read_only": false,
"status": "confirmed",
"title": "one event",
"when": {
"end_time": 1487282400,
"object": "timespan",
"start_time": 1487278800
}
}
Also running into this issue.