{"action":"created","issue":{"url":"https://api.github.com/repos/mattermost/platform/issues/1216","labels_url":"https://api.github.com/repos/mattermost/platform/issues/1216/labels{/name}","comments_url":"https://api.github.com/repos/mattermost/platform/issues/1216/comments","events_url":"https://api.github.com/repos/mattermost/platform/issues/1216/events","html_url":"https://github.com/mattermost/platform/pull/1216","id":113870558,"number":1216,"title":"Revert \"PLT-395: Add syntax highlighting to Markdown code blocks\"","user":{"login":"crspeller","id":3191642,"avatar_url":"https://avatars.githubusercontent.com/u/3191642?v=3","gravatar_id":"","url":"https://api.github.com/users/crspeller","html_url":"https://github.com/crspeller","followers_url":"https://api.github.com/users/crspeller/followers","following_url":"https://api.github.com/users/crspeller/following{/other_user}","gists_url":"https://api.github.com/users/crspeller/gists{/gist_id}","starred_url":"https://api.github.com/users/crspeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crspeller/subscriptions","organizations_url":"https://api.github.com/users/crspeller/orgs","repos_url":"https://api.github.com/users/crspeller/repos","events_url":"https://api.github.com/users/crspeller/events{/privacy}","received_events_url":"https://api.github.com/users/crspeller/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-28T17:09:49Z","updated_at":"2015-10-28T17:35:47Z","closed_at":"2015-10-28T17:26:45Z","pull_request":{"url":"https://api.github.com/repos/mattermost/platform/pulls/1216","html_url":"https://github.com/mattermost/platform/pull/1216","diff_url":"https://github.com/mattermost/platform/pull/1216.diff","patch_url":"https://github.com/mattermost/platform/pull/1216.patch"},"body":"Reverts mattermost/platform#1170"},"comment":{"url":"https://api.github.com/repos/mattermost/platform/issues/comments/151921664","html_url":"https://github.com/mattermost/platform/pull/1216#issuecomment-151921664","issue_url":"https://api.github.com/repos/mattermost/platform/issues/1216","id":151921664,"user":{"login":"it33","id":177788,"avatar_url":"https://avatars.githubusercontent.com/u/177788?v=3","gravatar_id":"","url":"https://api.github.com/users/it33","html_url":"https://github.com/it33","followers_url":"https://api.github.com/users/it33/followers","following_url":"https://api.github.com/users/it33/following{/other_user}","gists_url":"https://api.github.com/users/it33/gists{/gist_id}","starred_url":"https://api.github.com/users/it33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/it33/subscriptions","organizations_url":"https://api.github.com/users/it33/orgs","repos_url":"https://api.github.com/users/it33/repos","events_url":"https://api.github.com/users/it33/events{/privacy}","received_events_url":"https://api.github.com/users/it33/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T17:35:47Z","updated_at":"2015-10-28T17:35:47Z","body":"Hi @florianorben, \r\n\r\nThanks again for the syntax highlighting feature. The team really likes it, \r\n\r\nWe hit a minor issue unfortunately, which is that the change now allows Javascript execution within Mattermost (e.g. if we paste the below into a message, it'll now render a button). \r\n\r\n```\r\n<!DOCTYPE html>\r\n<html>\r\n<body>\r\n\r\n<h1>What Can JavaScript Do?</h1>\r\n\r\n<p id=\"demo\">JavaScript can change HTML content.</p>\r\n\r\n<button type=\"button\"\r\nonclick=\"document.getElementById('demo').innerHTML = 'Hello JavaScript!'\">\r\nClick Me!</button>\r\n\r\n</body>\r\n</html>\r\n\r\n```\r\n\r\nWe need to revert this change for now, wondering if you could help take a look? \r\n\r\nAlso, one additional request, so that Mattermost users can more easily share their theme settings, including your new syntax highlight support, we wondered if we could have your help including the name of the code theme as a parameter in the import string (under **Account Settings** > **Appearance Settings** > **Copy and paste to share theme colors:**). \r\n\r\nThis would allow users to pass each other theme colors that include your syntax highlighting options. \r\n\r\n```\r\n\r\nSo instead of: \r\n\r\n#171717,#fff,#1f1f1f,#FFFFFF,#fff,#302e30,#196CAF,#FFFFFF,#0177e7,#0177e7,#FFFFFF,#1F1F1F,#DDDDDD,#CC992D,#0D93FF,#0177e7,#FFFFFF,#784098,#A4FFEB,\r\n\r\n\r\nThe import function would accept: \r\n\r\n#171717,#fff,#1f1f1f,#FFFFFF,#fff,#302e30,#196CAF,#FFFFFF,#0177e7,#0177e7,#FFFFFF,#1F1F1F,#DDDDDD,#CC992D,#0D93FF,#0177e7,#FFFFFF,#784098,#A4FFEB,solarized_light\r\n\r\n```"}}