{"action":"opened","issue":{"url":"https://api.github.com/repos/BrightIT/escape-utils/issues/11","repository_url":"https://api.github.com/repos/BrightIT/escape-utils","labels_url":"https://api.github.com/repos/BrightIT/escape-utils/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/BrightIT/escape-utils/issues/11/comments","events_url":"https://api.github.com/repos/BrightIT/escape-utils/issues/11/events","html_url":"https://github.com/BrightIT/escape-utils/issues/11","id":195996865,"number":11,"title":"⚛🆙📅 Suggestion for better keybindings","user":{"login":"jrcharney","id":1954239,"avatar_url":"https://avatars.githubusercontent.com/u/1954239?v=3","gravatar_id":"","url":"https://api.github.com/users/jrcharney","html_url":"https://github.com/jrcharney","followers_url":"https://api.github.com/users/jrcharney/followers","following_url":"https://api.github.com/users/jrcharney/following{/other_user}","gists_url":"https://api.github.com/users/jrcharney/gists{/gist_id}","starred_url":"https://api.github.com/users/jrcharney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrcharney/subscriptions","organizations_url":"https://api.github.com/users/jrcharney/orgs","repos_url":"https://api.github.com/users/jrcharney/repos","events_url":"https://api.github.com/users/jrcharney/events{/privacy}","received_events_url":"https://api.github.com/users/jrcharney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-16T07:25:39Z","updated_at":"2016-12-16T07:25:39Z","closed_at":null,"body":"There's been some changes to the keybinding syntax from `.editor` to `atom-text-editor`. So I applied some changes which may be useful for the README.md page.\r\n\r\n```\r\n## Escape Utils keymaps (I hope this works just in the text editor)\r\n# Use this to include code examples such that\r\n#  '<div id=\"something\">You're</div>' becomes\r\n#  '&lt;div id=&quot;something&quot;&gt;You&apos;re&lt;/div&gt;'\r\n# TODO: Apply this to CSS and JavaScript, and JSON\r\n# TODO: Consider 'escape-utils:url-[en|de]code' for 'a[href=\"\"]'\r\n'atom-text-editor[data-grammar=\"text html basic\"]:not([mini])':\r\n  'f6': 'escape-utils:html-encode-maintain-lines'\r\n  'shift-f6': 'escape-utils:html-decode'\r\n```\r\n\r\nAnother thing to think about is allowing URL encoding on attributes when applying HTML encoding on elements.\r\n\r\n"}}
{"actor":{"display_login":"jrcharney"}}