{"action":"created","issue":{"url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1424","labels_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1424/labels{/name}","comments_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1424/comments","events_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1424/events","html_url":"https://github.com/phoenixframework/phoenix/pull/1424","id":123704637,"number":1424,"title":"Use Phoenix.HTML tag helpers in layout template","user":{"login":"nettofarah","id":270688,"avatar_url":"https://avatars.githubusercontent.com/u/270688?v=3","gravatar_id":"","url":"https://api.github.com/users/nettofarah","html_url":"https://github.com/nettofarah","followers_url":"https://api.github.com/users/nettofarah/followers","following_url":"https://api.github.com/users/nettofarah/following{/other_user}","gists_url":"https://api.github.com/users/nettofarah/gists{/gist_id}","starred_url":"https://api.github.com/users/nettofarah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nettofarah/subscriptions","organizations_url":"https://api.github.com/users/nettofarah/orgs","repos_url":"https://api.github.com/users/nettofarah/repos","events_url":"https://api.github.com/users/nettofarah/events{/privacy}","received_events_url":"https://api.github.com/users/nettofarah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-12-23T18:30:58Z","updated_at":"2015-12-23T21:46:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/phoenixframework/phoenix/pulls/1424","html_url":"https://github.com/phoenixframework/phoenix/pull/1424","diff_url":"https://github.com/phoenixframework/phoenix/pull/1424.diff","patch_url":"https://github.com/phoenixframework/phoenix/pull/1424.patch"},"body":"This is mostly a style change. So we don't need to interpolate\r\nstatic_path/2 inside HTML tags anymore.\r\n\r\nIt will also be a good step in helping new Phoenix users to get\r\nacquainted with Phoenix.HTML."},"comment":{"url":"https://api.github.com/repos/phoenixframework/phoenix/issues/comments/166997349","html_url":"https://github.com/phoenixframework/phoenix/pull/1424#issuecomment-166997349","issue_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1424","id":166997349,"user":{"login":"nettofarah","id":270688,"avatar_url":"https://avatars.githubusercontent.com/u/270688?v=3","gravatar_id":"","url":"https://api.github.com/users/nettofarah","html_url":"https://github.com/nettofarah","followers_url":"https://api.github.com/users/nettofarah/followers","following_url":"https://api.github.com/users/nettofarah/following{/other_user}","gists_url":"https://api.github.com/users/nettofarah/gists{/gist_id}","starred_url":"https://api.github.com/users/nettofarah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nettofarah/subscriptions","organizations_url":"https://api.github.com/users/nettofarah/orgs","repos_url":"https://api.github.com/users/nettofarah/repos","events_url":"https://api.github.com/users/nettofarah/events{/privacy}","received_events_url":"https://api.github.com/users/nettofarah/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T21:46:37Z","updated_at":"2015-12-23T21:46:37Z","body":"Yeah, these are fair points.\nSo maybe there's no easy solution right now?\n\nDo you have any suggestions?\n\nThanks!\nOn Wed, Dec 23, 2015 at 1:39 PM José Valim <notifications@github.com> wrote:\n\n> You could argue that html is inconsistent in the way that script tags\n> work. e.g. Empty with a source attribute.\n>\n> Right. That's the root issue and exactly why I don't want to hide behind\n> tag and content_tag.\n>\n> I am also unsure on script_tag because there are many ways we could use\n> it, so it is hard to choose one. That's why Rails shipped with things like\n> javascript_link_tag which helps but has its own problem. I don't think\n> asset_tag would work exactly because of what we are discussing. :(\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/phoenixframework/phoenix/pull/1424#issuecomment-166995915>\n> .\n>\n"}}