{"action":"created","issue":{"url":"https://api.github.com/repos/boothj5/profanity/issues/364","repository_url":"https://api.github.com/repos/boothj5/profanity","labels_url":"https://api.github.com/repos/boothj5/profanity/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/boothj5/profanity/issues/364/comments","events_url":"https://api.github.com/repos/boothj5/profanity/issues/364/events","html_url":"https://github.com/boothj5/profanity/issues/364","id":34737323,"number":364,"title":"OTR HTML Encoding","user":{"login":"NoSkills","id":5393048,"avatar_url":"https://avatars.githubusercontent.com/u/5393048?v=3","gravatar_id":"","url":"https://api.github.com/users/NoSkills","html_url":"https://github.com/NoSkills","followers_url":"https://api.github.com/users/NoSkills/followers","following_url":"https://api.github.com/users/NoSkills/following{/other_user}","gists_url":"https://api.github.com/users/NoSkills/gists{/gist_id}","starred_url":"https://api.github.com/users/NoSkills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoSkills/subscriptions","organizations_url":"https://api.github.com/users/NoSkills/orgs","repos_url":"https://api.github.com/users/NoSkills/repos","events_url":"https://api.github.com/users/NoSkills/events{/privacy}","received_events_url":"https://api.github.com/users/NoSkills/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/boothj5/profanity/labels/feature","name":"feature","color":"d7e102"},{"url":"https://api.github.com/repos/boothj5/profanity/labels/medium","name":"medium","color":"02d7e1"},{"url":"https://api.github.com/repos/boothj5/profanity/labels/plugins","name":"plugins","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2014-06-01T21:31:31Z","updated_at":"2016-08-10T23:41:11Z","closed_at":null,"body":"Pidgin and other IM Clients with OTR capability have a feature called \"Convert HTML\", which basically removes HTML tags out of the incoming messages.\r\n\r\nThe problem is that if you communicate with Profanity and OTR to a Pidgin client, HTML is bloating the text and it's very difficult to read.\r\n\r\nThis is especially true if you're talking to someone using Adium (https://trac.adium.im/ticket/6901) as you will get spammed with < FONT >.\r\n\r\nAn example copy-paste on something with URL and quotes.\r\n23:24:58 - M: & quot;inspired by hrf=\" http://irssi.org/ \" >Irssi</ a >& quot;\r\n\r\nAnything with a long URL is a complete mess.\r\n"},"comment":{"url":"https://api.github.com/repos/boothj5/profanity/issues/comments/239037532","html_url":"https://github.com/boothj5/profanity/issues/364#issuecomment-239037532","issue_url":"https://api.github.com/repos/boothj5/profanity/issues/364","id":239037532,"user":{"login":"boothj5","id":543885,"avatar_url":"https://avatars.githubusercontent.com/u/543885?v=3","gravatar_id":"","url":"https://api.github.com/users/boothj5","html_url":"https://github.com/boothj5","followers_url":"https://api.github.com/users/boothj5/followers","following_url":"https://api.github.com/users/boothj5/following{/other_user}","gists_url":"https://api.github.com/users/boothj5/gists{/gist_id}","starred_url":"https://api.github.com/users/boothj5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boothj5/subscriptions","organizations_url":"https://api.github.com/users/boothj5/orgs","repos_url":"https://api.github.com/users/boothj5/repos","events_url":"https://api.github.com/users/boothj5/events{/privacy}","received_events_url":"https://api.github.com/users/boothj5/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T23:41:11Z","updated_at":"2016-08-10T23:41:11Z","body":"@nd2s I've added the `resource` argument to the chat message functions:\r\n\r\nhttp://www.profanity.im/plugins/python/html/plugin.html#plugin.prof_pre_chat_message_display\r\nhttp://www.profanity.im/plugins/python/html/plugin.html#plugin.prof_post_chat_message_display\r\n\r\nAlso added checks on return types for any functions that return something:\r\n\r\n* If the value is undefined, a message should appear in the console (and the log) and Profanity should carry on as usual.\r\n* The same should happen if return value is of the wrong type, for example if a hook that should return a string returns an integer\r\n* There is no type checking on functions that should return a boolean since python can evaluate all types as a boolean\r\n\r\nIf you have a chance to try and break it again, I'd be interested to see how you get on."}}
{"actor":{"display_login":"boothj5"}}