{"action":"closed","issue":{"url":"https://api.github.com/repos/roundcube/roundcubemail/issues/6194","repository_url":"https://api.github.com/repos/roundcube/roundcubemail","labels_url":"https://api.github.com/repos/roundcube/roundcubemail/issues/6194/labels{/name}","comments_url":"https://api.github.com/repos/roundcube/roundcubemail/issues/6194/comments","events_url":"https://api.github.com/repos/roundcube/roundcubemail/issues/6194/events","html_url":"https://github.com/roundcube/roundcubemail/issues/6194","id":299835654,"number":6194,"title":"the UTF character in the HTML comment causes bad display of the content","user":{"login":"adamszen","id":36774997,"avatar_url":"https://avatars2.githubusercontent.com/u/36774997?v=4","gravatar_id":"","url":"https://api.github.com/users/adamszen","html_url":"https://github.com/adamszen","followers_url":"https://api.github.com/users/adamszen/followers","following_url":"https://api.github.com/users/adamszen/following{/other_user}","gists_url":"https://api.github.com/users/adamszen/gists{/gist_id}","starred_url":"https://api.github.com/users/adamszen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamszen/subscriptions","organizations_url":"https://api.github.com/users/adamszen/orgs","repos_url":"https://api.github.com/users/adamszen/repos","events_url":"https://api.github.com/users/adamszen/events{/privacy}","received_events_url":"https://api.github.com/users/adamszen/received_events","type":"User","site_admin":false},"labels":[{"id":372701991,"url":"https://api.github.com/repos/roundcube/roundcubemail/labels/need%20feedback","name":"need feedback","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-02-23T20:10:36Z","updated_at":"2018-02-24T16:04:33Z","closed_at":"2018-02-24T16:04:33Z","author_association":"NONE","body":"If in the HTML comment before the `<head>` section there is a character in UTF - the email content is displayed incorrectly.\r\n\r\nThe problem has been around for a long time (currently tested on the Rouncdube version 1.3.3), noticed when receiving some e-mails from Allegro.\r\n\r\nLook, this mail: \r\n\r\n![2018-02-23_21-03-30-81730](https://user-images.githubusercontent.com/36774997/36614568-73becaf0-18dd-11e8-9ea6-d82e86a213d9.png)\r\n\r\nLooks OK:\r\n\r\n![2018-02-23_21-04-34-86185](https://user-images.githubusercontent.com/36774997/36614598-86b5c834-18dd-11e8-91a4-6f9f23aaf862.png)\r\n\r\n\r\nBut if i move html comment above `<head>` section (allegro sends hundreds of thousands of emails in this way!):\r\n\r\n![2018-02-23_21-08-27-82322](https://user-images.githubusercontent.com/36774997/36614657-ac87d570-18dd-11e8-9db7-b96c214a6e68.png)\r\n\r\nThe email display is incorrect:\r\n\r\n![2018-02-23_21-28-39-49220](https://user-images.githubusercontent.com/36774997/36615429-85e64d18-18e0-11e8-99da-fa7ae938cb02.png)\r\n\r\nIf i switch showing in text mode, everything is OK:\r\n\r\n![2018-02-23_21-25-43-01095](https://user-images.githubusercontent.com/36774997/36615328-15bcd76e-18e0-11e8-8aa4-fd26023460ee.png)\r\n\r\nPHP 5.6, PHP 7.0, RC 1.2 and 1.3.3 - the effect is the same."}}
{"actor":{"display_login":"adamszen"}}