{"action":"created","comment":{"url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/pulls/comments/32135860","id":32135860,"diff_hunk":"@@ -0,0 +1,43 @@\n+<script id=\"poll-results-template\" type=\"text/html\">\n+    <h3 class=\"poll-header\">{{display_name}}</h3>\n+    <div class=\"poll-question-container\">{{{question}}}</div>\n+    <ul class=\"poll-answers-results poll-results\">\n+    {{#each tally}}\n+        <li class=\"poll-result\">\n+            <div class=\"poll-result-input-container\">\n+              <input id=\"answer-{{key}}\" type=\"radio\" disabled {{#if choice}}checked=\"True\"{{/if}} />\n+            </div>\n+            {{#if any_img}}\n+                <div class=\"poll-image result-image\">\n+                    <label for=\"answer-{{key}}\" class=\"poll-image-label\">\n+                        {{#if img}}\n+                          <img src=\"{{img}}\" />\n+                        {{/if}}\n+                    </label>\n+                </div>\n+            {{/if}}\n+            <div class=\"percentage-gauge-container\">\n+              <div class=\"percentage-gauge\" style=\"width:{{percent}}%;\">\n+                  <label class=\"poll-answer-label\" for=\"answer-{{key}}\">{{{answer}}}</label>","path":"poll/public/handlebars/poll_results.handlebars","position":21,"original_position":21,"commit_id":"ca0e6eb4ef10c128d573c3cec015dcfee7984730","original_commit_id":"ca0e6eb4ef10c128d573c3cec015dcfee7984730","user":{"login":"smarnach","id":249196,"avatar_url":"https://avatars.githubusercontent.com/u/249196?v=3","gravatar_id":"","url":"https://api.github.com/users/smarnach","html_url":"https://github.com/smarnach","followers_url":"https://api.github.com/users/smarnach/followers","following_url":"https://api.github.com/users/smarnach/following{/other_user}","gists_url":"https://api.github.com/users/smarnach/gists{/gist_id}","starred_url":"https://api.github.com/users/smarnach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarnach/subscriptions","organizations_url":"https://api.github.com/users/smarnach/orgs","repos_url":"https://api.github.com/users/smarnach/repos","events_url":"https://api.github.com/users/smarnach/events{/privacy}","received_events_url":"https://api.github.com/users/smarnach/received_events","type":"User","site_admin":false},"body":"@cptvitamin I don't want to write invalid HTML either, but as pointed out above, I don't see how to fix this without breaking backwards compatibility.  I've added a hint pointing out that you should only use bold or italics here.","created_at":"2015-06-10T16:21:01Z","updated_at":"2015-06-10T16:21:01Z","html_url":"https://github.com/mckinseyacademy/xblock-poll/pull/13#discussion_r32135860","pull_request_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/mckinseyacademy/xblock-poll/pulls/comments/32135860"},"html":{"href":"https://github.com/mckinseyacademy/xblock-poll/pull/13#discussion_r32135860"},"pull_request":{"href":"https://api.github.com/repos/mckinseyacademy/xblock-poll/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/pulls/13","id":34025023,"html_url":"https://github.com/mckinseyacademy/xblock-poll/pull/13","diff_url":"https://github.com/mckinseyacademy/xblock-poll/pull/13.diff","patch_url":"https://github.com/mckinseyacademy/xblock-poll/pull/13.patch","issue_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/issues/13","number":13,"state":"open","locked":false,"title":"Code review for getting the Poll/Survey XBlocks on edx.org","user":{"login":"antoviaque","id":514483,"avatar_url":"https://avatars.githubusercontent.com/u/514483?v=3","gravatar_id":"","url":"https://api.github.com/users/antoviaque","html_url":"https://github.com/antoviaque","followers_url":"https://api.github.com/users/antoviaque/followers","following_url":"https://api.github.com/users/antoviaque/following{/other_user}","gists_url":"https://api.github.com/users/antoviaque/gists{/gist_id}","starred_url":"https://api.github.com/users/antoviaque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoviaque/subscriptions","organizations_url":"https://api.github.com/users/antoviaque/orgs","repos_url":"https://api.github.com/users/antoviaque/repos","events_url":"https://api.github.com/users/antoviaque/events{/privacy}","received_events_url":"https://api.github.com/users/antoviaque/received_events","type":"User","site_admin":false},"body":"Fake PR for review purposes. Do not merge.\r\n\r\nNote: ignore the first comments by mtyaka - these were from a previous PR where comments were made directly on the commits instead of on the PR.","created_at":"2015-04-24T07:37:39Z","updated_at":"2015-06-10T16:21:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f346215f2e9cc3cac87f5d6ac94b3487ce7357af","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/pulls/13/commits","review_comments_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/pulls/13/comments","review_comment_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/issues/13/comments","statuses_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/statuses/ca0e6eb4ef10c128d573c3cec015dcfee7984730","head":{"label":"mckinseyacademy:master","ref":"master","sha":"ca0e6eb4ef10c128d573c3cec015dcfee7984730","user":{"login":"mckinseyacademy","id":6392729,"avatar_url":"https://avatars.githubusercontent.com/u/6392729?v=3","gravatar_id":"","url":"https://api.github.com/users/mckinseyacademy","html_url":"https://github.com/mckinseyacademy","followers_url":"https://api.github.com/users/mckinseyacademy/followers","following_url":"https://api.github.com/users/mckinseyacademy/following{/other_user}","gists_url":"https://api.github.com/users/mckinseyacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/mckinseyacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mckinseyacademy/subscriptions","organizations_url":"https://api.github.com/users/mckinseyacademy/orgs","repos_url":"https://api.github.com/users/mckinseyacademy/repos","events_url":"https://api.github.com/users/mckinseyacademy/events{/privacy}","received_events_url":"https://api.github.com/users/mckinseyacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":29022223,"name":"xblock-poll","full_name":"mckinseyacademy/xblock-poll","owner":{"login":"mckinseyacademy","id":6392729,"avatar_url":"https://avatars.githubusercontent.com/u/6392729?v=3","gravatar_id":"","url":"https://api.github.com/users/mckinseyacademy","html_url":"https://github.com/mckinseyacademy","followers_url":"https://api.github.com/users/mckinseyacademy/followers","following_url":"https://api.github.com/users/mckinseyacademy/following{/other_user}","gists_url":"https://api.github.com/users/mckinseyacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/mckinseyacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mckinseyacademy/subscriptions","organizations_url":"https://api.github.com/users/mckinseyacademy/orgs","repos_url":"https://api.github.com/users/mckinseyacademy/repos","events_url":"https://api.github.com/users/mckinseyacademy/events{/privacy}","received_events_url":"https://api.github.com/users/mckinseyacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mckinseyacademy/xblock-poll","description":"An XBlock for Polling users and displaying the result","fork":false,"url":"https://api.github.com/repos/mckinseyacademy/xblock-poll","forks_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/forks","keys_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/teams","hooks_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/hooks","issue_events_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/issues/events{/number}","events_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/events","assignees_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/assignees{/user}","branches_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/branches{/branch}","tags_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/tags","blobs_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/git/refs{/sha}","trees_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/statuses/{sha}","languages_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/languages","stargazers_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/stargazers","contributors_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/contributors","subscribers_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/subscribers","subscription_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/subscription","commits_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/commits{/sha}","git_commits_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/git/commits{/sha}","comments_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/comments{/number}","issue_comment_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/issues/comments{/number}","contents_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/contents/{+path}","compare_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/merges","archive_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/downloads","issues_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/issues{/number}","pulls_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/pulls{/number}","milestones_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/milestones{/number}","notifications_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/labels{/name}","releases_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/releases{/id}","created_at":"2015-01-09T15:35:50Z","updated_at":"2015-04-23T11:45:24Z","pushed_at":"2015-04-24T07:37:39Z","git_url":"git://github.com/mckinseyacademy/xblock-poll.git","ssh_url":"git@github.com:mckinseyacademy/xblock-poll.git","clone_url":"https://github.com/mckinseyacademy/xblock-poll.git","svn_url":"https://github.com/mckinseyacademy/xblock-poll","homepage":"","size":4307,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"mckinseyacademy:null","ref":"null","sha":"fe27bd5f983ae487a0b96a4d80870f48a0c043a5","user":{"login":"mckinseyacademy","id":6392729,"avatar_url":"https://avatars.githubusercontent.com/u/6392729?v=3","gravatar_id":"","url":"https://api.github.com/users/mckinseyacademy","html_url":"https://github.com/mckinseyacademy","followers_url":"https://api.github.com/users/mckinseyacademy/followers","following_url":"https://api.github.com/users/mckinseyacademy/following{/other_user}","gists_url":"https://api.github.com/users/mckinseyacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/mckinseyacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mckinseyacademy/subscriptions","organizations_url":"https://api.github.com/users/mckinseyacademy/orgs","repos_url":"https://api.github.com/users/mckinseyacademy/repos","events_url":"https://api.github.com/users/mckinseyacademy/events{/privacy}","received_events_url":"https://api.github.com/users/mckinseyacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":29022223,"name":"xblock-poll","full_name":"mckinseyacademy/xblock-poll","owner":{"login":"mckinseyacademy","id":6392729,"avatar_url":"https://avatars.githubusercontent.com/u/6392729?v=3","gravatar_id":"","url":"https://api.github.com/users/mckinseyacademy","html_url":"https://github.com/mckinseyacademy","followers_url":"https://api.github.com/users/mckinseyacademy/followers","following_url":"https://api.github.com/users/mckinseyacademy/following{/other_user}","gists_url":"https://api.github.com/users/mckinseyacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/mckinseyacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mckinseyacademy/subscriptions","organizations_url":"https://api.github.com/users/mckinseyacademy/orgs","repos_url":"https://api.github.com/users/mckinseyacademy/repos","events_url":"https://api.github.com/users/mckinseyacademy/events{/privacy}","received_events_url":"https://api.github.com/users/mckinseyacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mckinseyacademy/xblock-poll","description":"An XBlock for Polling users and displaying the result","fork":false,"url":"https://api.github.com/repos/mckinseyacademy/xblock-poll","forks_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/forks","keys_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/teams","hooks_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/hooks","issue_events_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/issues/events{/number}","events_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/events","assignees_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/assignees{/user}","branches_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/branches{/branch}","tags_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/tags","blobs_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/git/refs{/sha}","trees_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/statuses/{sha}","languages_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/languages","stargazers_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/stargazers","contributors_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/contributors","subscribers_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/subscribers","subscription_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/subscription","commits_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/commits{/sha}","git_commits_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/git/commits{/sha}","comments_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/comments{/number}","issue_comment_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/issues/comments{/number}","contents_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/contents/{+path}","compare_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/merges","archive_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/downloads","issues_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/issues{/number}","pulls_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/pulls{/number}","milestones_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/milestones{/number}","notifications_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/labels{/name}","releases_url":"https://api.github.com/repos/mckinseyacademy/xblock-poll/releases{/id}","created_at":"2015-01-09T15:35:50Z","updated_at":"2015-04-23T11:45:24Z","pushed_at":"2015-04-24T07:37:39Z","git_url":"git://github.com/mckinseyacademy/xblock-poll.git","ssh_url":"git@github.com:mckinseyacademy/xblock-poll.git","clone_url":"https://github.com/mckinseyacademy/xblock-poll.git","svn_url":"https://github.com/mckinseyacademy/xblock-poll","homepage":"","size":4307,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mckinseyacademy/xblock-poll/pulls/13"},"html":{"href":"https://github.com/mckinseyacademy/xblock-poll/pull/13"},"issue":{"href":"https://api.github.com/repos/mckinseyacademy/xblock-poll/issues/13"},"comments":{"href":"https://api.github.com/repos/mckinseyacademy/xblock-poll/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/mckinseyacademy/xblock-poll/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/mckinseyacademy/xblock-poll/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mckinseyacademy/xblock-poll/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/mckinseyacademy/xblock-poll/statuses/ca0e6eb4ef10c128d573c3cec015dcfee7984730"}}}}