{"action":"created","issue":{"url":"https://api.github.com/repos/processwire/processwire-issues/issues/302","repository_url":"https://api.github.com/repos/processwire/processwire-issues","labels_url":"https://api.github.com/repos/processwire/processwire-issues/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/processwire/processwire-issues/issues/302/comments","events_url":"https://api.github.com/repos/processwire/processwire-issues/issues/302/events","html_url":"https://github.com/processwire/processwire-issues/issues/302","id":239169049,"number":302,"title":"Markup regions are not being removed if the template file is blank","user":{"login":"cb2004","id":6205980,"avatar_url":"https://avatars3.githubusercontent.com/u/6205980?v=4","gravatar_id":"","url":"https://api.github.com/users/cb2004","html_url":"https://github.com/cb2004","followers_url":"https://api.github.com/users/cb2004/followers","following_url":"https://api.github.com/users/cb2004/following{/other_user}","gists_url":"https://api.github.com/users/cb2004/gists{/gist_id}","starred_url":"https://api.github.com/users/cb2004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cb2004/subscriptions","organizations_url":"https://api.github.com/users/cb2004/orgs","repos_url":"https://api.github.com/users/cb2004/repos","events_url":"https://api.github.com/users/cb2004/events{/privacy}","received_events_url":"https://api.github.com/users/cb2004/received_events","type":"User","site_admin":false},"labels":[{"id":460748315,"url":"https://api.github.com/repos/processwire/processwire-issues/labels/resolution:%20fixed%20(close%20when%20ready)","name":"resolution: fixed (close when ready)","color":"bbbbbb","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2017-06-28T13:45:00Z","updated_at":"2018-03-01T15:39:19Z","closed_at":"2018-02-26T15:50:07Z","author_association":"NONE","body":"<!--\r\nIf you want your bug report\r\n* to be more difficult to process and understand\r\n* to have many unnecessary follow-up questions\r\n* to take longer to fix then necessary\r\ndon’t use this issue template.\r\n\r\nIf you want your bug report \r\n* to be concise and easy to understand\r\n* to not have any (or very few) follow-up questions\r\n* to take faster to fix\r\nuse this issue template. Thank you.\r\n-->\r\n\r\n### Short description of the issue\r\nWith markup regions switched on (fresh install today so no need for $config->useMarkupRegions = 2) and if a template file is blank, the markup regions are not removed:\r\n\r\n`<pw-region pw-id=\"css-cdn\"></pw-region>`\r\n\r\nThis is still in the output.\r\n\r\n### Expected behavior\r\n\r\nMarkup code should be removed\r\n\r\n### Actual behavior\r\n\r\nMarkup code is not removed\r\n\r\n### Setup/Environment\r\n<!--\r\n* Include as many relevant details about your environment setup as possible.\r\n* Hint: Using the Tracy Debugger module makes this a breeze: https://processwire.com/blog/posts/introducing-tracy-debugger/#versions-list\r\n-->\r\n\r\n* ProcessWire version: 3.0.65\r\n"},"comment":{"url":"https://api.github.com/repos/processwire/processwire-issues/issues/comments/369631522","html_url":"https://github.com/processwire/processwire-issues/issues/302#issuecomment-369631522","issue_url":"https://api.github.com/repos/processwire/processwire-issues/issues/302","id":369631522,"user":{"login":"PixraelR","id":26192558,"avatar_url":"https://avatars1.githubusercontent.com/u/26192558?v=4","gravatar_id":"","url":"https://api.github.com/users/PixraelR","html_url":"https://github.com/PixraelR","followers_url":"https://api.github.com/users/PixraelR/followers","following_url":"https://api.github.com/users/PixraelR/following{/other_user}","gists_url":"https://api.github.com/users/PixraelR/gists{/gist_id}","starred_url":"https://api.github.com/users/PixraelR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PixraelR/subscriptions","organizations_url":"https://api.github.com/users/PixraelR/orgs","repos_url":"https://api.github.com/users/PixraelR/repos","events_url":"https://api.github.com/users/PixraelR/events{/privacy}","received_events_url":"https://api.github.com/users/PixraelR/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T15:39:19Z","updated_at":"2018-03-01T15:39:19Z","author_association":"NONE","body":"Yes, it works, but it leaves the \"region hints\" in the output.. when I don't use a region in my template file, it's deleted from _main.php in the output, but still leaves the <!-#headstyles->\r\n"}}
{"actor":{"display_login":"PixraelR"}}