{"action":"created","issue":{"url":"https://api.github.com/repos/skoczen/will/issues/218","repository_url":"https://api.github.com/repos/skoczen/will","labels_url":"https://api.github.com/repos/skoczen/will/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/skoczen/will/issues/218/comments","events_url":"https://api.github.com/repos/skoczen/will/issues/218/events","html_url":"https://github.com/skoczen/will/issues/218","id":141897074,"number":218,"title":"CSS and Javascript in Will's responses?","user":{"login":"deeplook","id":1001778,"avatar_url":"https://avatars1.githubusercontent.com/u/1001778?v=3","gravatar_id":"","url":"https://api.github.com/users/deeplook","html_url":"https://github.com/deeplook","followers_url":"https://api.github.com/users/deeplook/followers","following_url":"https://api.github.com/users/deeplook/following{/other_user}","gists_url":"https://api.github.com/users/deeplook/gists{/gist_id}","starred_url":"https://api.github.com/users/deeplook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deeplook/subscriptions","organizations_url":"https://api.github.com/users/deeplook/orgs","repos_url":"https://api.github.com/users/deeplook/repos","events_url":"https://api.github.com/users/deeplook/events{/privacy}","received_events_url":"https://api.github.com/users/deeplook/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-03-18T15:23:45Z","updated_at":"2017-05-07T22:56:43Z","closed_at":"2017-05-07T22:56:43Z","body":"I'm pretty new to Will, and like it very much! After playing a bit with it I saw that HipChat (and Will) allows HTML in responses, unlike Slack. So I played a bit and could output something simple as `<p>foo <strong>bar</strong></p>`, but only in group rooms (in 1-1 rooms this seems to be not working and a bug). But when I add `<html> and <body>`, though these are output too. So I wonder if it's possible to include custom CSS and possible Javascript in HTML content output with: `self.reply(message, content, html=True)` and if these would be cashed somehow if so?\n\nThe purpose would be for example to include Bootstrap styling or output graphs rendered with plot.ly in Will's responses.\n\nMaybe this is possible using web hooks, but I'm not there yet, and I haven't seen concise examples for using web hooks on http://skoczen.github.io/will/\n"},"comment":{"url":"https://api.github.com/repos/skoczen/will/issues/comments/299741550","html_url":"https://github.com/skoczen/will/issues/218#issuecomment-299741550","issue_url":"https://api.github.com/repos/skoczen/will/issues/218","id":299741550,"user":{"login":"skoczen","id":200635,"avatar_url":"https://avatars1.githubusercontent.com/u/200635?v=3","gravatar_id":"","url":"https://api.github.com/users/skoczen","html_url":"https://github.com/skoczen","followers_url":"https://api.github.com/users/skoczen/followers","following_url":"https://api.github.com/users/skoczen/following{/other_user}","gists_url":"https://api.github.com/users/skoczen/gists{/gist_id}","starred_url":"https://api.github.com/users/skoczen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skoczen/subscriptions","organizations_url":"https://api.github.com/users/skoczen/orgs","repos_url":"https://api.github.com/users/skoczen/repos","events_url":"https://api.github.com/users/skoczen/events{/privacy}","received_events_url":"https://api.github.com/users/skoczen/received_events","type":"User","site_admin":false},"created_at":"2017-05-07T22:56:43Z","updated_at":"2017-05-07T22:56:43Z","body":"Broadly on this, there's been a change to the hipchat API to now support HTML in 1-1 messages, which 0.9.4 added to will.  Beyond that, a bigger subset of HTML and css aren't supported by hipchat - but they well may be by future output mediums. \r\n\r\nI'm closing this issue up as we're doing the best we can for hipchat's support at the moment, but keeping the broader desire for the maximum subset of richness a platform supports in mind for future expansion!\r\n\r\nIf that doesn't hit your needs, please reopen, and let's keep talking!"}}
{"actor":{"display_login":"skoczen"}}