{"action":"created","issue":{"url":"https://api.github.com/repos/select2/select2/issues/3066","labels_url":"https://api.github.com/repos/select2/select2/issues/3066/labels{/name}","comments_url":"https://api.github.com/repos/select2/select2/issues/3066/comments","events_url":"https://api.github.com/repos/select2/select2/issues/3066/events","html_url":"https://github.com/select2/select2/pull/3066","id":58798227,"number":3066,"title":"Place select control outside of & before script element","user":{"login":"erikeckhardt","id":6424367,"avatar_url":"https://avatars.githubusercontent.com/u/6424367?v=3","gravatar_id":"","url":"https://api.github.com/users/erikeckhardt","html_url":"https://github.com/erikeckhardt","followers_url":"https://api.github.com/users/erikeckhardt/followers","following_url":"https://api.github.com/users/erikeckhardt/following{/other_user}","gists_url":"https://api.github.com/users/erikeckhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/erikeckhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikeckhardt/subscriptions","organizations_url":"https://api.github.com/users/erikeckhardt/orgs","repos_url":"https://api.github.com/users/erikeckhardt/repos","events_url":"https://api.github.com/users/erikeckhardt/events{/privacy}","received_events_url":"https://api.github.com/users/erikeckhardt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T20:22:56Z","updated_at":"2015-02-24T22:04:51Z","closed_at":"2015-02-24T22:04:51Z","pull_request":{"url":"https://api.github.com/repos/select2/select2/pulls/3066","html_url":"https://github.com/select2/select2/pull/3066","diff_url":"https://github.com/select2/select2/pull/3066.diff","patch_url":"https://github.com/select2/select2/pull/3066.patch"},"body":"See http://stackoverflow.com/questions/28705192/select-element-in-html-document-not-displaying/28705288 for why"},"comment":{"url":"https://api.github.com/repos/select2/select2/issues/comments/75856693","html_url":"https://github.com/select2/select2/pull/3066#issuecomment-75856693","issue_url":"https://api.github.com/repos/select2/select2/issues/3066","id":75856693,"user":{"login":"kevin-brown","id":1991850,"avatar_url":"https://avatars.githubusercontent.com/u/1991850?v=3","gravatar_id":"","url":"https://api.github.com/users/kevin-brown","html_url":"https://github.com/kevin-brown","followers_url":"https://api.github.com/users/kevin-brown/followers","following_url":"https://api.github.com/users/kevin-brown/following{/other_user}","gists_url":"https://api.github.com/users/kevin-brown/gists{/gist_id}","starred_url":"https://api.github.com/users/kevin-brown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevin-brown/subscriptions","organizations_url":"https://api.github.com/users/kevin-brown/orgs","repos_url":"https://api.github.com/users/kevin-brown/repos","events_url":"https://api.github.com/users/kevin-brown/events{/privacy}","received_events_url":"https://api.github.com/users/kevin-brown/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T22:04:50Z","updated_at":"2015-02-24T22:04:50Z","body":"Just to further expand on the comment I made on the question...\r\n\r\n`<script>` elements are only executed by the browser if they are specifically typed to `text/javascript` using the `type` attribute (also the default). In the documentation, we use `<script type=\"text/x-example-code\">` to allow for arbitrary text to be placed in there without having to worry about further escaping it. This is used by [a few](http://handlebarsjs.com/) [JavaScript templating systems](http://icanhazjs.com/), and you can see how it looks yourself [in the generated documentation](https://select2.github.io/examples.html).\r\n\r\nYou can read more about it [at this Stack Overflow question](http://stackoverflow.com/q/4912586/359284)."}}