{"action":"opened","issue":{"url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/1455","repository_url":"https://api.github.com/repos/froala/wysiwyg-editor","labels_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/1455/labels{/name}","comments_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/1455/comments","events_url":"https://api.github.com/repos/froala/wysiwyg-editor/issues/1455/events","html_url":"https://github.com/froala/wysiwyg-editor/issues/1455","id":170897159,"number":1455,"title":"HTML comments are removed even when setting htmlAllowComments","user":{"login":"HusseinElMotayam","id":1592177,"avatar_url":"https://avatars.githubusercontent.com/u/1592177?v=3","gravatar_id":"","url":"https://api.github.com/users/HusseinElMotayam","html_url":"https://github.com/HusseinElMotayam","followers_url":"https://api.github.com/users/HusseinElMotayam/followers","following_url":"https://api.github.com/users/HusseinElMotayam/following{/other_user}","gists_url":"https://api.github.com/users/HusseinElMotayam/gists{/gist_id}","starred_url":"https://api.github.com/users/HusseinElMotayam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HusseinElMotayam/subscriptions","organizations_url":"https://api.github.com/users/HusseinElMotayam/orgs","repos_url":"https://api.github.com/users/HusseinElMotayam/repos","events_url":"https://api.github.com/users/HusseinElMotayam/events{/privacy}","received_events_url":"https://api.github.com/users/HusseinElMotayam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-12T15:28:08Z","updated_at":"2016-08-12T15:28:08Z","closed_at":null,"body":"##### Expected behavior.\r\nSwitching to code view, adding a comment then going back should preserve the HTML comment.\r\n\r\n##### Actual behavior.\r\nThe HTML comment is removed even if the editor was initialized with the htmlAllowComments = true\r\n\r\n##### Steps to reproduce the problem.\r\n1. Go to code view\r\n2. Add `<!-- comment -->` anywhere\r\n3. Get back to the HTML view\r\n4. Get back to the code view. Notice the comment is gone. \r\n\r\n##### OS.\r\nUbuntu 16.04\r\n\r\n##### Browser.\r\nTested in Chrome and Opera\r\n"}}
{"actor":{"display_login":"HusseinElMotayam"}}