{"action":"opened","issue":{"url":"https://api.github.com/repos/prismicio/prismic-richtext/issues/9","repository_url":"https://api.github.com/repos/prismicio/prismic-richtext","labels_url":"https://api.github.com/repos/prismicio/prismic-richtext/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/prismicio/prismic-richtext/issues/9/comments","events_url":"https://api.github.com/repos/prismicio/prismic-richtext/issues/9/events","html_url":"https://github.com/prismicio/prismic-richtext/issues/9","id":303733914,"number":9,"title":"HTML Entities are not encoded","user":{"login":"nickw444","id":1289759,"avatar_url":"https://avatars1.githubusercontent.com/u/1289759?v=4","gravatar_id":"","url":"https://api.github.com/users/nickw444","html_url":"https://github.com/nickw444","followers_url":"https://api.github.com/users/nickw444/followers","following_url":"https://api.github.com/users/nickw444/following{/other_user}","gists_url":"https://api.github.com/users/nickw444/gists{/gist_id}","starred_url":"https://api.github.com/users/nickw444/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickw444/subscriptions","organizations_url":"https://api.github.com/users/nickw444/orgs","repos_url":"https://api.github.com/users/nickw444/repos","events_url":"https://api.github.com/users/nickw444/events{/privacy}","received_events_url":"https://api.github.com/users/nickw444/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-09T06:03:10Z","updated_at":"2018-03-09T06:03:10Z","closed_at":null,"author_association":"NONE","body":"Text which contains ampersands (and other unsafe entities) are not encoded. \r\n\r\nFor example calling PrismicDom.RichText.asHtml on data that contains text that contains ampersands `&`, returns invalid HTML markup\r\n\r\n```\r\n<span>foo bar & baz </span>\r\n```\r\n\r\nWhen it would be expected to get\r\n\r\n```\r\n<span>foo bar &amp; baz </span>\r\n```\r\n\r\n/cc @benjamint"}}
{"actor":{"display_login":"nickw444"}}