{"action":"created","issue":{"url":"https://api.github.com/repos/bit-docs/bit-docs-generate-html/issues/12","repository_url":"https://api.github.com/repos/bit-docs/bit-docs-generate-html","labels_url":"https://api.github.com/repos/bit-docs/bit-docs-generate-html/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/bit-docs/bit-docs-generate-html/issues/12/comments","events_url":"https://api.github.com/repos/bit-docs/bit-docs-generate-html/issues/12/events","html_url":"https://github.com/bit-docs/bit-docs-generate-html/issues/12","id":206900621,"number":12,"title":"Encode html generated from Markdown backtips","user":{"login":"m-mujica","id":724877,"avatar_url":"https://avatars.githubusercontent.com/u/724877?v=3","gravatar_id":"","url":"https://api.github.com/users/m-mujica","html_url":"https://github.com/m-mujica","followers_url":"https://api.github.com/users/m-mujica/followers","following_url":"https://api.github.com/users/m-mujica/following{/other_user}","gists_url":"https://api.github.com/users/m-mujica/gists{/gist_id}","starred_url":"https://api.github.com/users/m-mujica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-mujica/subscriptions","organizations_url":"https://api.github.com/users/m-mujica/orgs","repos_url":"https://api.github.com/users/m-mujica/repos","events_url":"https://api.github.com/users/m-mujica/events{/privacy}","received_events_url":"https://api.github.com/users/m-mujica/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-10T20:38:07Z","updated_at":"2017-02-10T20:44:23Z","closed_at":null,"body":"If I'm not wrong, the code inside backtips is for display on the page. Escaping the HTML prevents code the be executed, e.g:\r\n\r\n```\r\n<script src=\"node_modules/steal/steal.js\" main=\"index.stache!done-autorender\"></script>\r\n```\r\n\r\nwhen that html is rendered, the browser will try to download stealjs, and we probably don't want that.\r\n\r\nI think we could extend the commonmark parser to encode the html generated out of backtips so it doesn't get executed by the browser.\r\n\r\nthoughts @justinbmeyer @matthewp?"},"comment":{"url":"https://api.github.com/repos/bit-docs/bit-docs-generate-html/issues/comments/279060859","html_url":"https://github.com/bit-docs/bit-docs-generate-html/issues/12#issuecomment-279060859","issue_url":"https://api.github.com/repos/bit-docs/bit-docs-generate-html/issues/12","id":279060859,"user":{"login":"m-mujica","id":724877,"avatar_url":"https://avatars.githubusercontent.com/u/724877?v=3","gravatar_id":"","url":"https://api.github.com/users/m-mujica","html_url":"https://github.com/m-mujica","followers_url":"https://api.github.com/users/m-mujica/followers","following_url":"https://api.github.com/users/m-mujica/following{/other_user}","gists_url":"https://api.github.com/users/m-mujica/gists{/gist_id}","starred_url":"https://api.github.com/users/m-mujica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-mujica/subscriptions","organizations_url":"https://api.github.com/users/m-mujica/orgs","repos_url":"https://api.github.com/users/m-mujica/repos","events_url":"https://api.github.com/users/m-mujica/events{/privacy}","received_events_url":"https://api.github.com/users/m-mujica/received_events","type":"User","site_admin":false},"created_at":"2017-02-10T20:44:23Z","updated_at":"2017-02-10T20:44:23Z","body":"Go to http://donejs.com/Apis.html, look at the 404s from the browser loading steal\r\n\r\nSource https://github.com/donejs/donejs/blob/master/docs/apis.md\r\n\r\n"}}
{"actor":{"display_login":"m-mujica"}}