{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/3675","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/3675/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/3675/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/3675/events","html_url":"https://github.com/aspnet/Mvc/pull/3675","id":119868141,"number":3675,"title":"Clean up remaining `HtmlString` usage","user":{"login":"dougbu","id":6431421,"avatar_url":"https://avatars.githubusercontent.com/u/6431421?v=3","gravatar_id":"","url":"https://api.github.com/users/dougbu","html_url":"https://github.com/dougbu","followers_url":"https://api.github.com/users/dougbu/followers","following_url":"https://api.github.com/users/dougbu/following{/other_user}","gists_url":"https://api.github.com/users/dougbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dougbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougbu/subscriptions","organizations_url":"https://api.github.com/users/dougbu/orgs","repos_url":"https://api.github.com/users/dougbu/repos","events_url":"https://api.github.com/users/dougbu/events{/privacy}","received_events_url":"https://api.github.com/users/dougbu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Mvc/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-02T05:00:47Z","updated_at":"2015-12-03T20:58:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aspnet/Mvc/pulls/3675","html_url":"https://github.com/aspnet/Mvc/pull/3675","diff_url":"https://github.com/aspnet/Mvc/pull/3675.diff","patch_url":"https://github.com/aspnet/Mvc/pull/3675.patch"},"body":"- #3122 and #3123 (5 of 5)\r\n- avoid concatenating values and wrapping them in an `HtmlString`\r\n  - simplify `LinkTagHelper`, `RazorPage` and `TagHelperContentExtensions`\r\n  - add some special cases in `UrlResolutionTagHelper`\r\n- add a few special cases to avoid `StringWriter` use when value is an `HtmlString`\r\n- move `HtmlTextWriter` optimizations a bit lower and add missing checks for that type\r\n\r\nnits:\r\n- make `null` checks of `HtmlTextWriter`s consistent\r\n- correct comments that incorrectly mention `HtmlString`s\r\n- update comments in `JavaScriptStringArrayEncoder`"},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/161782603","html_url":"https://github.com/aspnet/Mvc/pull/3675#issuecomment-161782603","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/3675","id":161782603,"user":{"login":"dougbu","id":6431421,"avatar_url":"https://avatars.githubusercontent.com/u/6431421?v=3","gravatar_id":"","url":"https://api.github.com/users/dougbu","html_url":"https://github.com/dougbu","followers_url":"https://api.github.com/users/dougbu/followers","following_url":"https://api.github.com/users/dougbu/following{/other_user}","gists_url":"https://api.github.com/users/dougbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dougbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougbu/subscriptions","organizations_url":"https://api.github.com/users/dougbu/orgs","repos_url":"https://api.github.com/users/dougbu/repos","events_url":"https://api.github.com/users/dougbu/events{/privacy}","received_events_url":"https://api.github.com/users/dougbu/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T20:58:17Z","updated_at":"2015-12-03T20:58:17Z","body":"#### New numbers\r\nSaving about 5.25 MB in a simple (\"BasicViews\") tag helper scenario.\r\n\r\n##### Before\r\n![tag 0](https://cloud.githubusercontent.com/assets/6431421/11573861/5418abfe-99bd-11e5-86c5-f7956dfd0d64.png)\r\n##### After\r\n![tag 2](https://cloud.githubusercontent.com/assets/6431421/11573869/5e8471c2-99bd-11e5-9de1-3560feb2554f.png)"}}