{"action":"created","issue":{"url":"https://api.github.com/repos/kof/emoticons/issues/7","repository_url":"https://api.github.com/repos/kof/emoticons","labels_url":"https://api.github.com/repos/kof/emoticons/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/kof/emoticons/issues/7/comments","events_url":"https://api.github.com/repos/kof/emoticons/issues/7/events","html_url":"https://github.com/kof/emoticons/issues/7","id":160599237,"number":7,"title":"Html escape issue","user":{"login":"Sylwekqaz","id":8068490,"avatar_url":"https://avatars.githubusercontent.com/u/8068490?v=3","gravatar_id":"","url":"https://api.github.com/users/Sylwekqaz","html_url":"https://github.com/Sylwekqaz","followers_url":"https://api.github.com/users/Sylwekqaz/followers","following_url":"https://api.github.com/users/Sylwekqaz/following{/other_user}","gists_url":"https://api.github.com/users/Sylwekqaz/gists{/gist_id}","starred_url":"https://api.github.com/users/Sylwekqaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sylwekqaz/subscriptions","organizations_url":"https://api.github.com/users/Sylwekqaz/orgs","repos_url":"https://api.github.com/users/Sylwekqaz/repos","events_url":"https://api.github.com/users/Sylwekqaz/events{/privacy}","received_events_url":"https://api.github.com/users/Sylwekqaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-16T07:55:12Z","updated_at":"2016-06-16T08:52:32Z","closed_at":null,"body":"In demo html output is not escaped.\r\nfor example if you type `<img src=\"https://www.google.pl/images/nav_logo242.png\" />` in textbox then demo shows Google logo instead of text"},"comment":{"url":"https://api.github.com/repos/kof/emoticons/issues/comments/226426383","html_url":"https://github.com/kof/emoticons/issues/7#issuecomment-226426383","issue_url":"https://api.github.com/repos/kof/emoticons/issues/7","id":226426383,"user":{"login":"MarkoMackic","id":7548838,"avatar_url":"https://avatars.githubusercontent.com/u/7548838?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkoMackic","html_url":"https://github.com/MarkoMackic","followers_url":"https://api.github.com/users/MarkoMackic/followers","following_url":"https://api.github.com/users/MarkoMackic/following{/other_user}","gists_url":"https://api.github.com/users/MarkoMackic/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkoMackic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkoMackic/subscriptions","organizations_url":"https://api.github.com/users/MarkoMackic/orgs","repos_url":"https://api.github.com/users/MarkoMackic/repos","events_url":"https://api.github.com/users/MarkoMackic/events{/privacy}","received_events_url":"https://api.github.com/users/MarkoMackic/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T08:52:32Z","updated_at":"2016-06-16T08:52:32Z","body":"I don't think it's important for demo here but if you need to do that, simply replace  \r\n`$text.html($.emoticons.replace($in.val()));`\r\nwith \r\n`$text.html($.emoticons.replace($in.val().replace(\"<\",\"&lt\").replace(\">\",\"&gt\")));`\r\nand you solved your problem :)"}}
{"actor":{"display_login":"MarkoMackic"}}