{"action":"created","issue":{"url":"https://api.github.com/repos/Polymer/polymer/issues/1995","labels_url":"https://api.github.com/repos/Polymer/polymer/issues/1995/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/1995/comments","events_url":"https://api.github.com/repos/Polymer/polymer/issues/1995/events","html_url":"https://github.com/Polymer/polymer/issues/1995","id":92307170,"number":1995,"title":"HTML comments inside of nested templates, breaks the templates","user":{"login":"faGH","id":8956241,"avatar_url":"https://avatars.githubusercontent.com/u/8956241?v=3","gravatar_id":"","url":"https://api.github.com/users/faGH","html_url":"https://github.com/faGH","followers_url":"https://api.github.com/users/faGH/followers","following_url":"https://api.github.com/users/faGH/following{/other_user}","gists_url":"https://api.github.com/users/faGH/gists{/gist_id}","starred_url":"https://api.github.com/users/faGH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faGH/subscriptions","organizations_url":"https://api.github.com/users/faGH/orgs","repos_url":"https://api.github.com/users/faGH/repos","events_url":"https://api.github.com/users/faGH/events{/privacy}","received_events_url":"https://api.github.com/users/faGH/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Polymer/polymer/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-01T08:02:19Z","updated_at":"2015-08-16T03:06:49Z","closed_at":"2015-07-01T12:15:00Z","body":"HTML comments inside of nested templates, breaks the templates with Polymer 1.0 (Latest version to this date). E.g.\r\n\r\n## HTML\r\n```\r\n<!-- HTML comment one -->\r\n<template is=\"dom-if\" if=\"{{condishIsTrue}}\">\r\n    <!-- HTML comment two -->\r\n    <template is=\"dom-if\" if=\"{{!anotherCondishIsTrue}}\">\r\n        This text still gets shown despite the error that occurs in the console.\r\n    </template>\r\n</template>\r\n```\r\n## Console Error\r\n\r\n\"Uncaught TypeError: Cannot set property 'display' of undefined\" (polymer.html:3677)\r\n\r\n## Call stack:\r\nPolymer._hideChildren\t@\tpolymer.html:3677\r\nPolymer.Templatizer._hideTemplateChildrenChanged\t@\tpolymer.html:2883\r\nPolymer.Base.extend._observerEffect\t@\tpolymer.html:1162\r\n(anonymous function)\t@\tpolymer.html:1020\r\nPolymer.Bind._modelApi._effectEffects\t@\tpolymer.html:1017\r\nPolymer.Bind._modelApi._propertySet\t@\tpolymer.html:1011\r\nsetter\t@\tpolymer.html:1078\r\nPolymer._render\t@\tpolymer.html:3630\r\nPolymer.Templatizer._flushTemplates\t@\tpolymer.html:2897\r\nPolymer.Debounce.Debouncer.complete\t@\tpolymer.html:844\r\natEndOfMicrotask\t@\tpolymer.html:805"},"comment":{"url":"https://api.github.com/repos/Polymer/polymer/issues/comments/131484282","html_url":"https://github.com/Polymer/polymer/issues/1995#issuecomment-131484282","issue_url":"https://api.github.com/repos/Polymer/polymer/issues/1995","id":131484282,"user":{"login":"dman777","id":887815,"avatar_url":"https://avatars.githubusercontent.com/u/887815?v=3","gravatar_id":"","url":"https://api.github.com/users/dman777","html_url":"https://github.com/dman777","followers_url":"https://api.github.com/users/dman777/followers","following_url":"https://api.github.com/users/dman777/following{/other_user}","gists_url":"https://api.github.com/users/dman777/gists{/gist_id}","starred_url":"https://api.github.com/users/dman777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dman777/subscriptions","organizations_url":"https://api.github.com/users/dman777/orgs","repos_url":"https://api.github.com/users/dman777/repos","events_url":"https://api.github.com/users/dman777/events{/privacy}","received_events_url":"https://api.github.com/users/dman777/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T03:06:49Z","updated_at":"2015-08-16T03:06:49Z","body":"Actually, this comment is breaking `paper-toolbar` or me, inner contents  of `paper-header-panel` won't show:\r\n\r\n```html\r\n   <paper-header-panel mode=\"waterfall-tall\" class=\"flex\">\r\n      <paper-toolbar>\r\n        <!-- Filler to make paper-tab end justified -->\r\n        <div class='title'></div>\r\n        <!-- Filler end -- >\r\n```"}}