{"action":"created","issue":{"url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/1396","repository_url":"https://api.github.com/repos/froala/wysiwyg-editor","labels_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/1396/labels{/name}","comments_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/1396/comments","events_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/1396/events","html_url":"https://github.com/froala/wysiwyg-editor/issues/1396","id":164350613,"number":1396,"title":"Froala strips style tag even though it is listed in htmlAllowedTags","user":{"login":"escopecz","id":1235442,"avatar_url":"https://avatars.githubusercontent.com/u/1235442?v=3","gravatar_id":"","url":"https://api.github.com/users/escopecz","html_url":"https://github.com/escopecz","followers_url":"https://api.github.com/users/escopecz/followers","following_url":"https://api.github.com/users/escopecz/following{/other_user}","gists_url":"https://api.github.com/users/escopecz/gists{/gist_id}","starred_url":"https://api.github.com/users/escopecz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escopecz/subscriptions","organizations_url":"https://api.github.com/users/escopecz/orgs","repos_url":"https://api.github.com/users/escopecz/repos","events_url":"https://api.github.com/users/escopecz/events{/privacy}","received_events_url":"https://api.github.com/users/escopecz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-07T16:20:13Z","updated_at":"2016-07-07T16:37:07Z","closed_at":"2016-07-07T16:22:09Z","body":"##### Expected behavior.\r\nThe style tags should remain in the HTML when listed in htmlAllowedTags (which they are by default) \r\n\r\n##### Actual behavior.\r\nStyle tags in the head are gone when Froala messes with the HTML.\r\n\r\n##### Steps to reproduce the problem.\r\n1. https://jsfiddle.net/htcg6twz/1/\r\n2. Click the button below the editor.\r\n3. Compare the styles in the head tag from the source HTML with the resulted HTML.\r\n\r\n##### OS.\r\nUbuntu 16.04\r\n\r\n##### Browser.\r\nChromium 10\r\n"},"comment":{"url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/comments/231135289","html_url":"https://github.com/froala/wysiwyg-editor/issues/1396#issuecomment-231135289","issue_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/1396","id":231135289,"user":{"login":"escopecz","id":1235442,"avatar_url":"https://avatars.githubusercontent.com/u/1235442?v=3","gravatar_id":"","url":"https://api.github.com/users/escopecz","html_url":"https://github.com/escopecz","followers_url":"https://api.github.com/users/escopecz/followers","following_url":"https://api.github.com/users/escopecz/following{/other_user}","gists_url":"https://api.github.com/users/escopecz/gists{/gist_id}","starred_url":"https://api.github.com/users/escopecz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escopecz/subscriptions","organizations_url":"https://api.github.com/users/escopecz/orgs","repos_url":"https://api.github.com/users/escopecz/repos","events_url":"https://api.github.com/users/escopecz/events{/privacy}","received_events_url":"https://api.github.com/users/escopecz/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T16:37:07Z","updated_at":"2016-07-07T16:37:07Z","body":"Aha, I did not understand it from the docs. Thanks for explanation!"}}
{"actor":{"display_login":"escopecz"}}