payload: {"action":"created","issue":{"url":"https://api.github.com/repos/PAIR-code/facets/issues/177","repository_url":"https://api.github.com/repos/PAIR-code/facets","labels_url":"https://api.github.com/repos/PAIR-code/facets/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/PAIR-code/facets/issues/177/comments","events_url":"https://api.github.com/repos/PAIR-code/facets/issues/177/events","html_url":"https://github.com/PAIR-code/facets/issues/177","id":433975560,"node_id":"MDU6SXNzdWU0MzM5NzU1NjA=","number":177,"title":"link not rendered properly","user":{"login":"dzhang","id":46702,"node_id":"MDQ6VXNlcjQ2NzAy","avatar_url":"https://avatars3.githubusercontent.com/u/46702?v=4","gravatar_id":"","url":"https://api.github.com/users/dzhang","html_url":"https://github.com/dzhang","followers_url":"https://api.github.com/users/dzhang/followers","following_url":"https://api.github.com/users/dzhang/following{/other_user}","gists_url":"https://api.github.com/users/dzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/dzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzhang/subscriptions","organizations_url":"https://api.github.com/users/dzhang/orgs","repos_url":"https://api.github.com/users/dzhang/repos","events_url":"https://api.github.com/users/dzhang/events{/privacy}","received_events_url":"https://api.github.com/users/dzhang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-04-16T20:42:11Z","updated_at":"2019-04-18T17:22:05Z","closed_at":null,"author_association":"NONE","body":"Hi\r\n\r\nI am using Facets Dive in Jupyter Notebook, want to display a link on the right panel. I set one of the field value as\r\nimg_path= \"&lt;a href=\"http://xxx.jpg\">image</a&gt;\"\r\n\r\nexpect to see a link, but saw this displayed\r\n\r\nimg_path\r\n&lt;a href=\"http://xxx.jpg\">image</a&gt;\r\n\r\n\r\n\r\nThanks\r\nDong"},"comment":{"url":"https://api.github.com/repos/PAIR-code/facets/issues/comments/484599892","html_url":"https://github.com/PAIR-code/facets/issues/177#issuecomment-484599892","issue_url":"https://api.github.com/repos/PAIR-code/facets/issues/177","id":484599892,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4NDU5OTg5Mg==","user":{"login":"jimbojw","id":71617,"node_id":"MDQ6VXNlcjcxNjE3","avatar_url":"https://avatars2.githubusercontent.com/u/71617?v=4","gravatar_id":"","url":"https://api.github.com/users/jimbojw","html_url":"https://github.com/jimbojw","followers_url":"https://api.github.com/users/jimbojw/followers","following_url":"https://api.github.com/users/jimbojw/following{/other_user}","gists_url":"https://api.github.com/users/jimbojw/gists{/gist_id}","starred_url":"https://api.github.com/users/jimbojw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimbojw/subscriptions","organizations_url":"https://api.github.com/users/jimbojw/orgs","repos_url":"https://api.github.com/users/jimbojw/repos","events_url":"https://api.github.com/users/jimbojw/events{/privacy}","received_events_url":"https://api.github.com/users/jimbojw/received_events","type":"User","site_admin":false},"created_at":"2019-04-18T17:22:05Z","updated_at":"2019-04-18T17:22:05Z","author_association":"COLLABORATOR","body":"Hi Dong,\r\n\r\nYes, HTML and/or URLs are not rendered in the info card by default. However, you could implement a custom `infoRenderer()` method to do this. This is described in the documentation on [advanced customization properties](https://github.com/PAIR-code/facets/tree/master/facets_dive#advanced-customization-properties).\r\n\r\nI'm not sure how you'd do this in a Jupyter notebook, but it requires a little custom JavaScript. Something like this (untested code):\r\n\r\n```js\r\nfunction yourInfoRenderer(dataObject, elem) {\r\n  elem.innerHTML = dataObject.img_path;\r\n}\r\n\r\nconst dive = document.querySelector('facets-dive')[0];\r\ndive.infoRenderer = yourInfoRenderer;\r\n```\r\n\r\nYou can see how the default info renderer is implemented in the file [info-renderers.ts](https://github.com/PAIR-code/facets/blob/967e764dd8fbc8327ba9d4e39f3c0d76dce834b9/facets_dive/lib/info-renderers.ts#L26)."}}
other: {"actor":{"display_login":"jimbojw"}}