{"action":"created","issue":{"url":"https://api.github.com/repos/atom/language-php/issues/246","repository_url":"https://api.github.com/repos/atom/language-php","labels_url":"https://api.github.com/repos/atom/language-php/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/atom/language-php/issues/246/comments","events_url":"https://api.github.com/repos/atom/language-php/issues/246/events","html_url":"https://github.com/atom/language-php/issues/246","id":246201592,"number":246,"title":"Mixing HTML and PHP","user":{"login":"roblourens","id":323878,"avatar_url":"https://avatars3.githubusercontent.com/u/323878?v=4","gravatar_id":"","url":"https://api.github.com/users/roblourens","html_url":"https://github.com/roblourens","followers_url":"https://api.github.com/users/roblourens/followers","following_url":"https://api.github.com/users/roblourens/following{/other_user}","gists_url":"https://api.github.com/users/roblourens/gists{/gist_id}","starred_url":"https://api.github.com/users/roblourens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblourens/subscriptions","organizations_url":"https://api.github.com/users/roblourens/orgs","repos_url":"https://api.github.com/users/roblourens/repos","events_url":"https://api.github.com/users/roblourens/events{/privacy}","received_events_url":"https://api.github.com/users/roblourens/received_events","type":"User","site_admin":false},"labels":[{"id":61731087,"url":"https://api.github.com/repos/atom/language-php/labels/bug","name":"bug","color":"f7c6c7","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-27T23:55:24Z","updated_at":"2017-08-02T18:12:54Z","closed_at":null,"body":"This may be covered in an issue already but I couldn't find one that hits this exact case.\r\n\r\nIf you end the PHP block inside a function body, then the HTML after it is not colorized correctly.\r\n\r\n```php\r\n<div>foo</div>\r\n\r\n<?php\r\nfoo(function() {\r\n    ?>\r\n    <div>foo</div>\r\n    <?php\r\n    return \"sldkfj\";\r\n});\r\n```\r\n\r\n![image](https://user-images.githubusercontent.com/323878/28696661-be9b0536-72eb-11e7-8326-1f21508aae2f.png)\r\n\r\nThe orange `<div>foo</div>` is still `source.php` and `meta-function-call.php`. If the function line is commented out, or if the HTML isn't inside the function body, then it is handled correctly. Would this be expected to work?"},"comment":{"url":"https://api.github.com/repos/atom/language-php/issues/comments/319753812","html_url":"https://github.com/atom/language-php/issues/246#issuecomment-319753812","issue_url":"https://api.github.com/repos/atom/language-php/issues/246","id":319753812,"user":{"login":"50Wliu","id":2766036,"avatar_url":"https://avatars0.githubusercontent.com/u/2766036?v=4","gravatar_id":"","url":"https://api.github.com/users/50Wliu","html_url":"https://github.com/50Wliu","followers_url":"https://api.github.com/users/50Wliu/followers","following_url":"https://api.github.com/users/50Wliu/following{/other_user}","gists_url":"https://api.github.com/users/50Wliu/gists{/gist_id}","starred_url":"https://api.github.com/users/50Wliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/50Wliu/subscriptions","organizations_url":"https://api.github.com/users/50Wliu/orgs","repos_url":"https://api.github.com/users/50Wliu/repos","events_url":"https://api.github.com/users/50Wliu/events{/privacy}","received_events_url":"https://api.github.com/users/50Wliu/received_events","type":"User","site_admin":false},"created_at":"2017-08-02T18:12:54Z","updated_at":"2017-08-02T18:12:54Z","body":"I'm curious...what is the expected output in this case?"}}
{"actor":{"display_login":"50Wliu"}}