{"action":"created","comment":{"url":"https://api.github.com/repos/aspnet/live.asp.net/pulls/comments/37350388","id":37350388,"diff_hunk":"@@ -0,0 +1,40 @@\n+﻿using Microsoft.AspNet.Razor.Runtime.TagHelpers;\n+\n+namespace live.asp.net.TagHelpers\n+{\n+    public class BodyTagHelper : TagHelper\n+    {\n+        public override void Process(TagHelperContext context, TagHelperOutput output)\n+        {\n+            base.Process(context, output);\n+\n+            if (!output.Content.GetContent().Contains(\"$(\\\"p[data-hidden-value]\\\"))\")\n+                && output.Content.GetContent().Contains(\"click-to-show\"))\n+            {\n+                const string script = @\"<script>\n+        $(function () {\n+            $(\"\"p[data - hidden - value]\"\")\n+                    .click(function() {","path":"src/live.asp.net/TagHelpers/BodyTagHelper.cs","position":17,"original_position":17,"commit_id":"ac9f4bdb4f27fec3d73cd1accda7032632d28313","original_commit_id":"ac9f4bdb4f27fec3d73cd1accda7032632d28313","user":{"login":"DamianEdwards","id":249088,"avatar_url":"https://avatars.githubusercontent.com/u/249088?v=3","gravatar_id":"","url":"https://api.github.com/users/DamianEdwards","html_url":"https://github.com/DamianEdwards","followers_url":"https://api.github.com/users/DamianEdwards/followers","following_url":"https://api.github.com/users/DamianEdwards/following{/other_user}","gists_url":"https://api.github.com/users/DamianEdwards/gists{/gist_id}","starred_url":"https://api.github.com/users/DamianEdwards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DamianEdwards/subscriptions","organizations_url":"https://api.github.com/users/DamianEdwards/orgs","repos_url":"https://api.github.com/users/DamianEdwards/repos","events_url":"https://api.github.com/users/DamianEdwards/events{/privacy}","received_events_url":"https://api.github.com/users/DamianEdwards/received_events","type":"User","site_admin":false},"body":"This alignment is still off.","created_at":"2015-08-18T20:39:30Z","updated_at":"2015-08-18T20:39:30Z","html_url":"https://github.com/aspnet/live.asp.net/pull/49#discussion_r37350388","pull_request_url":"https://api.github.com/repos/aspnet/live.asp.net/pulls/49","_links":{"self":{"href":"https://api.github.com/repos/aspnet/live.asp.net/pulls/comments/37350388"},"html":{"href":"https://github.com/aspnet/live.asp.net/pull/49#discussion_r37350388"},"pull_request":{"href":"https://api.github.com/repos/aspnet/live.asp.net/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/aspnet/live.asp.net/pulls/49","id":42229405,"html_url":"https://github.com/aspnet/live.asp.net/pull/49","diff_url":"https://github.com/aspnet/live.asp.net/pull/49.diff","patch_url":"https://github.com/aspnet/live.asp.net/pull/49.patch","issue_url":"https://api.github.com/repos/aspnet/live.asp.net/issues/49","number":49,"state":"open","locked":false,"title":"ClickToShowTagHelper as for issue #21","user":{"login":"matsprea","id":3245840,"avatar_url":"https://avatars.githubusercontent.com/u/3245840?v=3","gravatar_id":"","url":"https://api.github.com/users/matsprea","html_url":"https://github.com/matsprea","followers_url":"https://api.github.com/users/matsprea/followers","following_url":"https://api.github.com/users/matsprea/following{/other_user}","gists_url":"https://api.github.com/users/matsprea/gists{/gist_id}","starred_url":"https://api.github.com/users/matsprea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matsprea/subscriptions","organizations_url":"https://api.github.com/users/matsprea/orgs","repos_url":"https://api.github.com/users/matsprea/repos","events_url":"https://api.github.com/users/matsprea/events{/privacy}","received_events_url":"https://api.github.com/users/matsprea/received_events","type":"User","site_admin":false},"body":"ClickToShowTagHelper as for issue #21","created_at":"2015-08-12T11:28:35Z","updated_at":"2015-08-18T20:39:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fb7dbf315c974117d851ea6a22b16e1a6084ed3f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aspnet/live.asp.net/pulls/49/commits","review_comments_url":"https://api.github.com/repos/aspnet/live.asp.net/pulls/49/comments","review_comment_url":"https://api.github.com/repos/aspnet/live.asp.net/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspnet/live.asp.net/issues/49/comments","statuses_url":"https://api.github.com/repos/aspnet/live.asp.net/statuses/ac9f4bdb4f27fec3d73cd1accda7032632d28313","head":{"label":"matsprea:clickToShow","ref":"clickToShow","sha":"ac9f4bdb4f27fec3d73cd1accda7032632d28313","user":{"login":"matsprea","id":3245840,"avatar_url":"https://avatars.githubusercontent.com/u/3245840?v=3","gravatar_id":"","url":"https://api.github.com/users/matsprea","html_url":"https://github.com/matsprea","followers_url":"https://api.github.com/users/matsprea/followers","following_url":"https://api.github.com/users/matsprea/following{/other_user}","gists_url":"https://api.github.com/users/matsprea/gists{/gist_id}","starred_url":"https://api.github.com/users/matsprea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matsprea/subscriptions","organizations_url":"https://api.github.com/users/matsprea/orgs","repos_url":"https://api.github.com/users/matsprea/repos","events_url":"https://api.github.com/users/matsprea/events{/privacy}","received_events_url":"https://api.github.com/users/matsprea/received_events","type":"User","site_admin":false},"repo":{"id":40558842,"name":"live.asp.net","full_name":"matsprea/live.asp.net","owner":{"login":"matsprea","id":3245840,"avatar_url":"https://avatars.githubusercontent.com/u/3245840?v=3","gravatar_id":"","url":"https://api.github.com/users/matsprea","html_url":"https://github.com/matsprea","followers_url":"https://api.github.com/users/matsprea/followers","following_url":"https://api.github.com/users/matsprea/following{/other_user}","gists_url":"https://api.github.com/users/matsprea/gists{/gist_id}","starred_url":"https://api.github.com/users/matsprea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matsprea/subscriptions","organizations_url":"https://api.github.com/users/matsprea/orgs","repos_url":"https://api.github.com/users/matsprea/repos","events_url":"https://api.github.com/users/matsprea/events{/privacy}","received_events_url":"https://api.github.com/users/matsprea/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matsprea/live.asp.net","description":"Code for live.asp.net, which hosts the ASP.NET Community Stand-up","fork":true,"url":"https://api.github.com/repos/matsprea/live.asp.net","forks_url":"https://api.github.com/repos/matsprea/live.asp.net/forks","keys_url":"https://api.github.com/repos/matsprea/live.asp.net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matsprea/live.asp.net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matsprea/live.asp.net/teams","hooks_url":"https://api.github.com/repos/matsprea/live.asp.net/hooks","issue_events_url":"https://api.github.com/repos/matsprea/live.asp.net/issues/events{/number}","events_url":"https://api.github.com/repos/matsprea/live.asp.net/events","assignees_url":"https://api.github.com/repos/matsprea/live.asp.net/assignees{/user}","branches_url":"https://api.github.com/repos/matsprea/live.asp.net/branches{/branch}","tags_url":"https://api.github.com/repos/matsprea/live.asp.net/tags","blobs_url":"https://api.github.com/repos/matsprea/live.asp.net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matsprea/live.asp.net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matsprea/live.asp.net/git/refs{/sha}","trees_url":"https://api.github.com/repos/matsprea/live.asp.net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matsprea/live.asp.net/statuses/{sha}","languages_url":"https://api.github.com/repos/matsprea/live.asp.net/languages","stargazers_url":"https://api.github.com/repos/matsprea/live.asp.net/stargazers","contributors_url":"https://api.github.com/repos/matsprea/live.asp.net/contributors","subscribers_url":"https://api.github.com/repos/matsprea/live.asp.net/subscribers","subscription_url":"https://api.github.com/repos/matsprea/live.asp.net/subscription","commits_url":"https://api.github.com/repos/matsprea/live.asp.net/commits{/sha}","git_commits_url":"https://api.github.com/repos/matsprea/live.asp.net/git/commits{/sha}","comments_url":"https://api.github.com/repos/matsprea/live.asp.net/comments{/number}","issue_comment_url":"https://api.github.com/repos/matsprea/live.asp.net/issues/comments{/number}","contents_url":"https://api.github.com/repos/matsprea/live.asp.net/contents/{+path}","compare_url":"https://api.github.com/repos/matsprea/live.asp.net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matsprea/live.asp.net/merges","archive_url":"https://api.github.com/repos/matsprea/live.asp.net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matsprea/live.asp.net/downloads","issues_url":"https://api.github.com/repos/matsprea/live.asp.net/issues{/number}","pulls_url":"https://api.github.com/repos/matsprea/live.asp.net/pulls{/number}","milestones_url":"https://api.github.com/repos/matsprea/live.asp.net/milestones{/number}","notifications_url":"https://api.github.com/repos/matsprea/live.asp.net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matsprea/live.asp.net/labels{/name}","releases_url":"https://api.github.com/repos/matsprea/live.asp.net/releases{/id}","created_at":"2015-08-11T18:39:18Z","updated_at":"2015-08-11T18:39:19Z","pushed_at":"2015-08-18T20:26:42Z","git_url":"git://github.com/matsprea/live.asp.net.git","ssh_url":"git@github.com:matsprea/live.asp.net.git","clone_url":"https://github.com/matsprea/live.asp.net.git","svn_url":"https://github.com/matsprea/live.asp.net","homepage":null,"size":10292,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"aspnet:dev","ref":"dev","sha":"8b8a177e1cb44b9f7dcd650db3b8b9e7e9c5c3bb","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":39595523,"name":"live.asp.net","full_name":"aspnet/live.asp.net","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/live.asp.net","description":"Code for live.asp.net, which hosts the ASP.NET Community Stand-up","fork":false,"url":"https://api.github.com/repos/aspnet/live.asp.net","forks_url":"https://api.github.com/repos/aspnet/live.asp.net/forks","keys_url":"https://api.github.com/repos/aspnet/live.asp.net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/live.asp.net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/live.asp.net/teams","hooks_url":"https://api.github.com/repos/aspnet/live.asp.net/hooks","issue_events_url":"https://api.github.com/repos/aspnet/live.asp.net/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/live.asp.net/events","assignees_url":"https://api.github.com/repos/aspnet/live.asp.net/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/live.asp.net/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/live.asp.net/tags","blobs_url":"https://api.github.com/repos/aspnet/live.asp.net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/live.asp.net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/live.asp.net/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/live.asp.net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/live.asp.net/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/live.asp.net/languages","stargazers_url":"https://api.github.com/repos/aspnet/live.asp.net/stargazers","contributors_url":"https://api.github.com/repos/aspnet/live.asp.net/contributors","subscribers_url":"https://api.github.com/repos/aspnet/live.asp.net/subscribers","subscription_url":"https://api.github.com/repos/aspnet/live.asp.net/subscription","commits_url":"https://api.github.com/repos/aspnet/live.asp.net/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/live.asp.net/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/live.asp.net/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/live.asp.net/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/live.asp.net/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/live.asp.net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/live.asp.net/merges","archive_url":"https://api.github.com/repos/aspnet/live.asp.net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/live.asp.net/downloads","issues_url":"https://api.github.com/repos/aspnet/live.asp.net/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/live.asp.net/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/live.asp.net/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/live.asp.net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/live.asp.net/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/live.asp.net/releases{/id}","created_at":"2015-07-23T21:58:04Z","updated_at":"2015-08-18T18:38:23Z","pushed_at":"2015-08-18T20:26:43Z","git_url":"git://github.com/aspnet/live.asp.net.git","ssh_url":"git@github.com:aspnet/live.asp.net.git","clone_url":"https://github.com/aspnet/live.asp.net.git","svn_url":"https://github.com/aspnet/live.asp.net","homepage":null,"size":10724,"stargazers_count":121,"watchers_count":121,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":8,"forks":17,"open_issues":8,"watchers":121,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/aspnet/live.asp.net/pulls/49"},"html":{"href":"https://github.com/aspnet/live.asp.net/pull/49"},"issue":{"href":"https://api.github.com/repos/aspnet/live.asp.net/issues/49"},"comments":{"href":"https://api.github.com/repos/aspnet/live.asp.net/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/aspnet/live.asp.net/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/aspnet/live.asp.net/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspnet/live.asp.net/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/aspnet/live.asp.net/statuses/ac9f4bdb4f27fec3d73cd1accda7032632d28313"}}}}