Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When getting calendar events from outlook.com, the description field includes HTML #437

Open
carolinelane10 opened this issue Feb 16, 2017 · 1 comment

Comments

@carolinelane10
Copy link

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,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,NotoColorEmoji,&quot;Segoe UI Symbol&quot;,&quot;Android Emoji&quot;,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
        }
    }
@yevhene
Copy link

yevhene commented Apr 3, 2018

Also running into this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants