{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/JavaScriptServices/issues/251","repository_url":"https://api.github.com/repos/aspnet/JavaScriptServices","labels_url":"https://api.github.com/repos/aspnet/JavaScriptServices/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/JavaScriptServices/issues/251/comments","events_url":"https://api.github.com/repos/aspnet/JavaScriptServices/issues/251/events","html_url":"https://github.com/aspnet/JavaScriptServices/issues/251","id":170244796,"number":251,"title":"Duplicate <html> tag in markup for angular","user":{"login":"andreymir","id":226866,"avatar_url":"https://avatars.githubusercontent.com/u/226866?v=3","gravatar_id":"","url":"https://api.github.com/users/andreymir","html_url":"https://github.com/andreymir","followers_url":"https://api.github.com/users/andreymir/followers","following_url":"https://api.github.com/users/andreymir/following{/other_user}","gists_url":"https://api.github.com/users/andreymir/gists{/gist_id}","starred_url":"https://api.github.com/users/andreymir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreymir/subscriptions","organizations_url":"https://api.github.com/users/andreymir/orgs","repos_url":"https://api.github.com/users/andreymir/repos","events_url":"https://api.github.com/users/andreymir/events{/privacy}","received_events_url":"https://api.github.com/users/andreymir/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-09T19:02:20Z","updated_at":"2016-08-15T21:49:17Z","closed_at":"2016-08-15T21:49:17Z","body":"For angular template, with server-side rendering enabled the resulting markup is invalid. It contains duplicate `<html>` and `<body>` tags.\r\n```html\r\n<!DOCTYPE html>\r\n<html>\r\n    <head>\r\n        <meta charset=\"utf-8\" />\r\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\r\n        <title>Home Page - TestAngular</title>\r\n        <base href=\"/\" />\r\n        <link rel=\"stylesheet\" href=\"/dist/vendor.css\" />\r\n        <link rel=\"stylesheet\" href=\"/dist/styles.css\" />\r\n    </head>\r\n    <body>\r\n<app><!DOCTYPE html><html><head><title></title></head><body><app><h1>My First Angular 2 App</h1></app></body></html></app>\r\n<script src=\"/dist/vendor.js?v=ST5Wa4e5mzPX7ta66f3OtVqEjo2qferfDltnP-noHNg\"></script>\r\n<script src=\"/dist/main.js?v=xXJhvd8rq7SFv-t1CDTZ0d9PUS2-IRftQ4NTA_R9aqc\"></script>\r\n</body>\r\n</html>\r\n```"},"comment":{"url":"https://api.github.com/repos/aspnet/JavaScriptServices/issues/comments/239940177","html_url":"https://github.com/aspnet/JavaScriptServices/issues/251#issuecomment-239940177","issue_url":"https://api.github.com/repos/aspnet/JavaScriptServices/issues/251","id":239940177,"user":{"login":"SteveSandersonMS","id":1101362,"avatar_url":"https://avatars.githubusercontent.com/u/1101362?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveSandersonMS","html_url":"https://github.com/SteveSandersonMS","followers_url":"https://api.github.com/users/SteveSandersonMS/followers","following_url":"https://api.github.com/users/SteveSandersonMS/following{/other_user}","gists_url":"https://api.github.com/users/SteveSandersonMS/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveSandersonMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveSandersonMS/subscriptions","organizations_url":"https://api.github.com/users/SteveSandersonMS/orgs","repos_url":"https://api.github.com/users/SteveSandersonMS/repos","events_url":"https://api.github.com/users/SteveSandersonMS/events{/privacy}","received_events_url":"https://api.github.com/users/SteveSandersonMS/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T21:49:17Z","updated_at":"2016-08-15T21:49:17Z","body":"@andreymir Absolutely - that's a good workaround for now.\r\n\r\nWe don't want to put that in the templates because it looks confusing and we're hoping the angular/universal#347 issues will get fixed soon anyway. But for your own use in your own project, your workaround looks ideal."}}
{"actor":{"display_login":"SteveSandersonMS"}}