{"action":"closed","issue":{"url":"https://api.github.com/repos/jawee/language-blade/issues/32","labels_url":"https://api.github.com/repos/jawee/language-blade/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/jawee/language-blade/issues/32/comments","events_url":"https://api.github.com/repos/jawee/language-blade/issues/32/events","html_url":"https://github.com/jawee/language-blade/issues/32","id":123408170,"number":32,"title":"Blade grammar isn't detected if file starts with <!DOCTYPE html><html>","user":{"login":"JesseLeite","id":5187394,"avatar_url":"https://avatars.githubusercontent.com/u/5187394?v=3","gravatar_id":"","url":"https://api.github.com/users/JesseLeite","html_url":"https://github.com/JesseLeite","followers_url":"https://api.github.com/users/JesseLeite/followers","following_url":"https://api.github.com/users/JesseLeite/following{/other_user}","gists_url":"https://api.github.com/users/JesseLeite/gists{/gist_id}","starred_url":"https://api.github.com/users/JesseLeite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JesseLeite/subscriptions","organizations_url":"https://api.github.com/users/JesseLeite/orgs","repos_url":"https://api.github.com/users/JesseLeite/repos","events_url":"https://api.github.com/users/JesseLeite/events{/privacy}","received_events_url":"https://api.github.com/users/JesseLeite/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-22T03:58:38Z","updated_at":"2015-12-22T12:45:28Z","closed_at":"2015-12-22T12:45:28Z","body":"Blade grammar isn't automatically detected if file starts with:\r\n\r\n```<!DOCTYPE html>\r\n<html lang=\"en\">```\r\n\r\nHowever, if file starts with any other text, HTML elements, or Blade directives, then Blade grammar is properly detected for .blade.php files.  This means that a master layout file doesn't show syntax highlighting on Blade directives, unless the user manually switches to Blade grammar mode.\r\n\r\nNot sure if this is issue with language-blade, or how Atom itself handles grammar detection?"}}