{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/angular/issues/804","repository_url":"https://api.github.com/repos/dart-lang/angular","labels_url":"https://api.github.com/repos/dart-lang/angular/issues/804/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/angular/issues/804/comments","events_url":"https://api.github.com/repos/dart-lang/angular/issues/804/events","html_url":"https://github.com/dart-lang/angular/issues/804","id":292073865,"number":804,"title":"`Component.preserveWhitespace = false` is too aggressive and not context aware","user":{"login":"cedx","id":1643950,"avatar_url":"https://avatars3.githubusercontent.com/u/1643950?v=4","gravatar_id":"","url":"https://api.github.com/users/cedx","html_url":"https://github.com/cedx","followers_url":"https://api.github.com/users/cedx/followers","following_url":"https://api.github.com/users/cedx/following{/other_user}","gists_url":"https://api.github.com/users/cedx/gists{/gist_id}","starred_url":"https://api.github.com/users/cedx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedx/subscriptions","organizations_url":"https://api.github.com/users/cedx/orgs","repos_url":"https://api.github.com/users/cedx/repos","events_url":"https://api.github.com/users/cedx/events{/privacy}","received_events_url":"https://api.github.com/users/cedx/received_events","type":"User","site_admin":false},"labels":[{"id":746909876,"url":"https://api.github.com/repos/dart-lang/angular/labels/area:%20ast","name":"area: ast","color":"fad8c7","default":false},{"id":623409198,"url":"https://api.github.com/repos/dart-lang/angular/labels/area:%20compiler","name":"area: compiler","color":"fad8c7","default":false},{"id":623417530,"url":"https://api.github.com/repos/dart-lang/angular/labels/%E2%9B%91%20breaking%20change","name":"⛑ breaking change","color":"e99695","default":false}],"state":"open","locked":false,"assignee":{"login":"matanlurey","id":168174,"avatar_url":"https://avatars2.githubusercontent.com/u/168174?v=4","gravatar_id":"","url":"https://api.github.com/users/matanlurey","html_url":"https://github.com/matanlurey","followers_url":"https://api.github.com/users/matanlurey/followers","following_url":"https://api.github.com/users/matanlurey/following{/other_user}","gists_url":"https://api.github.com/users/matanlurey/gists{/gist_id}","starred_url":"https://api.github.com/users/matanlurey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matanlurey/subscriptions","organizations_url":"https://api.github.com/users/matanlurey/orgs","repos_url":"https://api.github.com/users/matanlurey/repos","events_url":"https://api.github.com/users/matanlurey/events{/privacy}","received_events_url":"https://api.github.com/users/matanlurey/received_events","type":"User","site_admin":false},"assignees":[{"login":"matanlurey","id":168174,"avatar_url":"https://avatars2.githubusercontent.com/u/168174?v=4","gravatar_id":"","url":"https://api.github.com/users/matanlurey","html_url":"https://github.com/matanlurey","followers_url":"https://api.github.com/users/matanlurey/followers","following_url":"https://api.github.com/users/matanlurey/following{/other_user}","gists_url":"https://api.github.com/users/matanlurey/gists{/gist_id}","starred_url":"https://api.github.com/users/matanlurey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matanlurey/subscriptions","organizations_url":"https://api.github.com/users/matanlurey/orgs","repos_url":"https://api.github.com/users/matanlurey/repos","events_url":"https://api.github.com/users/matanlurey/events{/privacy}","received_events_url":"https://api.github.com/users/matanlurey/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dart-lang/angular/milestones/5","html_url":"https://github.com/dart-lang/angular/milestone/5","labels_url":"https://api.github.com/repos/dart-lang/angular/milestones/5/labels","id":2516430,"number":5,"title":"V5","description":"","creator":{"login":"matanlurey","id":168174,"avatar_url":"https://avatars2.githubusercontent.com/u/168174?v=4","gravatar_id":"","url":"https://api.github.com/users/matanlurey","html_url":"https://github.com/matanlurey","followers_url":"https://api.github.com/users/matanlurey/followers","following_url":"https://api.github.com/users/matanlurey/following{/other_user}","gists_url":"https://api.github.com/users/matanlurey/gists{/gist_id}","starred_url":"https://api.github.com/users/matanlurey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matanlurey/subscriptions","organizations_url":"https://api.github.com/users/matanlurey/orgs","repos_url":"https://api.github.com/users/matanlurey/repos","events_url":"https://api.github.com/users/matanlurey/events{/privacy}","received_events_url":"https://api.github.com/users/matanlurey/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":33,"state":"open","created_at":"2017-05-12T00:02:16Z","updated_at":"2018-02-28T00:45:00Z","due_on":"2018-07-01T07:00:00Z","closed_at":null},"comments":19,"created_at":"2018-01-27T00:50:49Z","updated_at":"2018-02-28T21:24:18Z","closed_at":null,"author_association":"NONE","body":"Same issue as the TypeScript flavor of Angular: https://github.com/angular/angular/issues/21049\r\n(read the feed for the full explanation of the problem).\r\n\r\nI've tried to apply `preserveWhitespace: false` to my components, and ALL OF THEM have rendering glitches (i.e. words linked together).\r\n\r\nA markup like: `Foo <strong>Bar</strong> Baz` (display: \"Foo **Bar** Baz\")...\r\n...is processed to: `Foo<strong>Bar<strong>Baz` (display: \"Foo**Bar**Baz\").\r\n\r\nIf I want to have a proper display of my texts, I need to add an insane amount of `&ngsp;`/`&nbsp;`.\r\n\r\nI think that `preserveWhitespace: false` should ignore the (first) preceding/leading whitespace before/after tags within an [inline formatting context](https://www.w3.org/TR/CSS22/visuren.html#inline-formatting)."},"comment":{"url":"https://api.github.com/repos/dart-lang/angular/issues/comments/369387848","html_url":"https://github.com/dart-lang/angular/issues/804#issuecomment-369387848","issue_url":"https://api.github.com/repos/dart-lang/angular/issues/804","id":369387848,"user":{"login":"Goodwine","id":2022649,"avatar_url":"https://avatars0.githubusercontent.com/u/2022649?v=4","gravatar_id":"","url":"https://api.github.com/users/Goodwine","html_url":"https://github.com/Goodwine","followers_url":"https://api.github.com/users/Goodwine/followers","following_url":"https://api.github.com/users/Goodwine/following{/other_user}","gists_url":"https://api.github.com/users/Goodwine/gists{/gist_id}","starred_url":"https://api.github.com/users/Goodwine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Goodwine/subscriptions","organizations_url":"https://api.github.com/users/Goodwine/orgs","repos_url":"https://api.github.com/users/Goodwine/repos","events_url":"https://api.github.com/users/Goodwine/events{/privacy}","received_events_url":"https://api.github.com/users/Goodwine/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T21:24:00Z","updated_at":"2018-02-28T21:24:00Z","author_association":"NONE","body":"Hm, actually, I just checked again and the minifier actually does work :D, would your implementation do the same?\r\n\r\n![image](https://user-images.githubusercontent.com/2022649/36813804-8e335436-1c8a-11e8-8fe3-4966e6fadfa1.png)\r\n"}}
{"actor":{"display_login":"Goodwine"}}