{"action":"created","issue":{"url":"https://api.github.com/repos/sgengler/atom-trello/issues/1","labels_url":"https://api.github.com/repos/sgengler/atom-trello/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/sgengler/atom-trello/issues/1/comments","events_url":"https://api.github.com/repos/sgengler/atom-trello/issues/1/events","html_url":"https://github.com/sgengler/atom-trello/issues/1","id":108298901,"number":1,"title":"Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an al...","user":{"login":"int32at","id":2839279,"avatar_url":"https://avatars.githubusercontent.com/u/2839279?v=3","gravatar_id":"","url":"https://api.github.com/users/int32at","html_url":"https://github.com/int32at","followers_url":"https://api.github.com/users/int32at/followers","following_url":"https://api.github.com/users/int32at/following{/other_user}","gists_url":"https://api.github.com/users/int32at/gists{/gist_id}","starred_url":"https://api.github.com/users/int32at/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/int32at/subscriptions","organizations_url":"https://api.github.com/users/int32at/orgs","repos_url":"https://api.github.com/users/int32at/repos","events_url":"https://api.github.com/users/int32at/events{/privacy}","received_events_url":"https://api.github.com/users/int32at/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-25T10:10:10Z","updated_at":"2015-09-25T17:32:15Z","closed_at":"2015-09-25T17:32:15Z","body":"[Enter steps to reproduce below:]\r\n\r\n1. Add following JS code to the description of a card (incl markdown)\r\n```js\r\n<script type=\"text/javascript\"><!--//<![CDATA[\r\nvar EM_reListId = 255;\r\nvar EM_del = 0;\r\nvar EM_protocol = (location.protocol==\"https:\"?\"https://\":\"http://\");\r\nvar EM_timestamp = Math.floor(Math.random()*99999999999);\r\n  document.write (\"<scr\"+\"ipt type='text/javascript' src='\"+EM_protocol);\r\n  document.write (\"www.rvty.net/ads/ReTgt.js?timestamp=\"+EM_timestamp);\r\n  document.write (\"'><\\/scr\"+\"ipt>\");\r\n//]]>--></script>```\r\n2. Ttry to open the card within Atom\r\n\r\nhope this helps. let me know if you need more info :)\r\n\r\n**Atom Version**: 1.0.18\r\n**System**: Mac OS X 10.10.5\r\n**Thrown From**: [atom-trello](https://github.com/sgengler/atom-trello) package, v0.1.1\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: \"script-src 'self'\".\r\n\r\n\r\n```\r\nAt /Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:328\r\n\r\nEvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: \"script-src 'self'\".\r\n\r\n    at eval (native)\r\n    at Function.jQuery.extend.globalEval (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:328:5)\r\n    at [object Object].jQuery.fn.extend.domManip (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:5435:16)\r\n    at [object Object].jQuery.fn.extend.append (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:5218:15)\r\n    at AtomTrelloView.module.exports.SelectListView.populateList (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:208:21)\r\n    at AtomTrelloView.module.exports.SelectListView.setItems (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:167:12)\r\n    at AtomTrelloView.module.exports.AtomTrelloView.showView (/Users/andreas/.atom/packages/atom-trello/lib/atom-trello-view.coffee:64:6)\r\n    at /Users/andreas/.atom/packages/atom-trello/lib/atom-trello-view.coffee:121:8\r\n    at Request._callback (/Users/andreas/.atom/packages/atom-trello/node_modules/node-trello/lib/node-trello.js:94:5)\r\n    at Request.self.callback (/Users/andreas/.atom/packages/atom-trello/node_modules/node-trello/node_modules/request/request.js:373:22)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n  2x -0:09.1.0 core:close (div.release-notes.padded.pane-item.native-key-bindings)\r\n     -0:07.9.0 command-palette:toggle (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-isotope-ui)\r\n     -0:06.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n     -0:06.5.0 atom-trello:toggle (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-isotope-ui)\r\n     -0:04.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"themes\": [\r\n      \"isotope-ui\",\r\n      \"base16-tomorrow-dark-theme\"\r\n    ]\r\n  },\r\n  \"atom-trello\": {\r\n    \"devKey\": \"xxx\",\r\n    \"token\": \"xxx\"\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-html-preview, v0.1.11\r\natom-trello, v0.1.1\r\nautocomplete-python, v0.5.4\r\nisotope-ui, v2.5.1\r\nterminal-panel, v1.14.1\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/sgengler/atom-trello/issues/comments/143295996","html_url":"https://github.com/sgengler/atom-trello/issues/1#issuecomment-143295996","issue_url":"https://api.github.com/repos/sgengler/atom-trello/issues/1","id":143295996,"user":{"login":"sgengler","id":3884266,"avatar_url":"https://avatars.githubusercontent.com/u/3884266?v=3","gravatar_id":"","url":"https://api.github.com/users/sgengler","html_url":"https://github.com/sgengler","followers_url":"https://api.github.com/users/sgengler/followers","following_url":"https://api.github.com/users/sgengler/following{/other_user}","gists_url":"https://api.github.com/users/sgengler/gists{/gist_id}","starred_url":"https://api.github.com/users/sgengler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgengler/subscriptions","organizations_url":"https://api.github.com/users/sgengler/orgs","repos_url":"https://api.github.com/users/sgengler/repos","events_url":"https://api.github.com/users/sgengler/events{/privacy}","received_events_url":"https://api.github.com/users/sgengler/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T17:32:15Z","updated_at":"2015-09-25T17:32:15Z","body":"Thanks for sending. I just published an update (1c3bbb3a9bba2d0b26a4026e01173547f37e0ddf) which sanitizes the titles and parses any markdown in the description. Should be all set now.\r\n<img width=\"547\" alt=\"screen shot 2015-09-25 at 1 20 24 pm\" src=\"https://cloud.githubusercontent.com/assets/3884266/10107484/6b6e767c-6389-11e5-8622-d6c3337e3b59.png\">"}}