{"action":"opened","issue":{"url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/770","repository_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel","labels_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/770/labels{/name}","comments_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/770/comments","events_url":"https://api.github.com/repos/Maatwebsite/Laravel-Excel/issues/770/events","html_url":"https://github.com/Maatwebsite/Laravel-Excel/issues/770","id":150069919,"number":770,"title":"[BUG] Excel generated with Blade template displays raw CSS in A1 if it's empty","user":{"login":"agadenis","id":13030377,"avatar_url":"https://avatars.githubusercontent.com/u/13030377?v=3","gravatar_id":"","url":"https://api.github.com/users/agadenis","html_url":"https://github.com/agadenis","followers_url":"https://api.github.com/users/agadenis/followers","following_url":"https://api.github.com/users/agadenis/following{/other_user}","gists_url":"https://api.github.com/users/agadenis/gists{/gist_id}","starred_url":"https://api.github.com/users/agadenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agadenis/subscriptions","organizations_url":"https://api.github.com/users/agadenis/orgs","repos_url":"https://api.github.com/users/agadenis/repos","events_url":"https://api.github.com/users/agadenis/events{/privacy}","received_events_url":"https://api.github.com/users/agadenis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-21T13:09:17Z","updated_at":"2016-04-21T13:09:17Z","closed_at":null,"body":"Package version: 1.3.7\r\nLaravel version: 4.2.18\r\n\r\nExpected behaviour: rows 1 and 2 should display empty cells for merged columns A to E\r\n\r\nActual behaviour: row 1 incorrectly displays raw CSS from the Blade template; row 2 correctly displays empty cells. The same thing happens when cells are not merged, and when both rows are stripped of all formatting; and regardless of whether A1 contains 1) an empty space, or 2) ```&nbsp;``` or 3) an empty PHP string.\r\n\r\n![empty_a1_css](https://cloud.githubusercontent.com/assets/13030377/14709761/39a24674-07ca-11e6-9746-795fdd451027.png)\r\n\r\n\r\nCode:\r\n```html<html>\r\n<head>\r\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n\r\n    <style type=\"text/css\">\r\n        td,th{\r\n            border:1px hair #000000;\r\n        }\r\n\r\n        .Header{\r\n            text-align:center;\r\n            border-top: 1px hair #000000;\r\n            border-bottom: 1px hair #000000;\r\n            background-color: #CCCCCC;\r\n            font-weight:bold;\r\n        }\r\n\r\n        .Header--Planned{\r\n            background-color:#AA4B39;\r\n        }\r\n    </style>\r\n</head>\r\n<body>\r\n<table>\r\n    <thead>\r\n    <tr>\r\n        <th colspan=\"5\" class=\"Header\">&nbsp;</th>\r\n        <th colspan=\"5\" class=\"Header Header--Planned\">Planned</th>\r\n    </tr>\r\n    <tr>\r\n        <th colspan=\"5\" class=\"Header\">&nbsp;</th>\r\n        <th class=\"Header Header--Planned\">In</th>\r\n        <th class=\"Header Header--Planned\">Out (Break)</th>\r\n        <th class=\"Header Header--Planned\">In (Break)</th>\r\n        <th class=\"Header Header--Planned\">Out</th>\r\n        <th class=\"Header Header--Planned\">Total</th>\r\n    </tr>\r\n    </thead>\r\n    <tbody>\r\n    </tbody>\r\n</table>\r\n</body>\r\n</html>\r\n```"}}