{"action":"opened","issue":{"url":"https://api.github.com/repos/zendframework/zf1/issues/515","labels_url":"https://api.github.com/repos/zendframework/zf1/issues/515/labels{/name}","comments_url":"https://api.github.com/repos/zendframework/zf1/issues/515/comments","events_url":"https://api.github.com/repos/zendframework/zf1/issues/515/events","html_url":"https://github.com/zendframework/zf1/issues/515","id":58213601,"number":515,"title":"!IE conditional comments bug","user":{"login":"jackplug","id":881424,"avatar_url":"https://avatars.githubusercontent.com/u/881424?v=3","gravatar_id":"","url":"https://api.github.com/users/jackplug","html_url":"https://github.com/jackplug","followers_url":"https://api.github.com/users/jackplug/followers","following_url":"https://api.github.com/users/jackplug/following{/other_user}","gists_url":"https://api.github.com/users/jackplug/gists{/gist_id}","starred_url":"https://api.github.com/users/jackplug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackplug/subscriptions","organizations_url":"https://api.github.com/users/jackplug/orgs","repos_url":"https://api.github.com/users/jackplug/repos","events_url":"https://api.github.com/users/jackplug/events{/privacy}","received_events_url":"https://api.github.com/users/jackplug/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-19T14:19:43Z","updated_at":"2015-02-19T14:19:43Z","closed_at":null,"body":"Ref: https://github.com/zendframework/zf1/blob/master/library/Zend/View/Helper/HeadScript.php#L458\r\nThis works correctly the case of downlevel-hidden conditional comments, but for downlevel-revealed conditional comments (which are needed for !IE), the rendered HTML is wrong.\r\n\r\nCurrent rendered output:\r\n````\r\n<!--[if !IE]> <script>\r\n...\r\n</script><![endif]-->\r\n```` \r\nCorrectly rendered output:\r\n````\r\n<![if !IE]> <script>\r\n...\r\n</script><![endif]-->\r\n```` \r\nIf the '--' characters are not removed, every browser treats this as a comment.\r\nMore info: https://msdn.microsoft.com/en-us/library/ms537512%28v=vs.85%29.aspx"}}