{"action":"created","comment":{"url":"https://api.github.com/repos/metanorma/metanorma-gb/pulls/comments/329552901","pull_request_review_id":294942014,"id":329552901,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMyOTU1MjkwMQ==","diff_hunk":"@@ -216,11 +216,21 @@ def clause_parse_title(node, div, c1, out)\n         end\n       end\n \n+       def example_span_label(node, div, name)\n+      n = get_anchors[node[\"id\"]]\n+      div.span **{ class: \"example_label\" } do |p|\n+        lbl = (n.nil? || n[:label].nil? || n[:label].empty?) ? @example_lbl :\n+          l10n(\"#{@example_lbl} #{n[:label]}\")\n+        p << l10n(lbl + \":\")\n+        name and !lbl.nil? and p << \"&nbsp;&mdash; \"\n+        name and name.children.each { |n| parse(n, div) }\n+      end\n+    end\n+\n       def example_p_parse(node, div)\n+        name = node&.at(ns(\"./name\"))&.remove","path":"lib/isodoc/gb/gbbaseconvert.rb","position":16,"original_position":16,"commit_id":"91f73d84c074e7330cc02acf38585d48d08e45d2","original_commit_id":"91f73d84c074e7330cc02acf38585d48d08e45d2","user":{"login":"hound[bot]","id":30008653,"node_id":"MDM6Qm90MzAwMDg2NTM=","avatar_url":"https://avatars1.githubusercontent.com/in/3598?v=4","gravatar_id":"","url":"https://api.github.com/users/hound%5Bbot%5D","html_url":"https://github.com/apps/hound","followers_url":"https://api.github.com/users/hound%5Bbot%5D/followers","following_url":"https://api.github.com/users/hound%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/hound%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/hound%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hound%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/hound%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/hound%5Bbot%5D/repos","events_url":"https://api.github.com/users/hound%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/hound%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.","created_at":"2019-09-30T12:38:35Z","updated_at":"2019-09-30T12:38:37Z","html_url":"https://github.com/metanorma/metanorma-gb/pull/106#discussion_r329552901","pull_request_url":"https://api.github.com/repos/metanorma/metanorma-gb/pulls/106","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/metanorma/metanorma-gb/pulls/comments/329552901"},"html":{"href":"https://github.com/metanorma/metanorma-gb/pull/106#discussion_r329552901"},"pull_request":{"href":"https://api.github.com/repos/metanorma/metanorma-gb/pulls/106"}}},"pull_request":{"url":"https://api.github.com/repos/metanorma/metanorma-gb/pulls/106","id":322759264,"node_id":"MDExOlB1bGxSZXF1ZXN0MzIyNzU5MjY0","html_url":"https://github.com/metanorma/metanorma-gb/pull/106","diff_url":"https://github.com/metanorma/metanorma-gb/pull/106.diff","patch_url":"https://github.com/metanorma/metanorma-gb/pull/106.patch","issue_url":"https://api.github.com/repos/metanorma/metanorma-gb/issues/106","number":106,"state":"open","locked":false,"title":"Titles on examples; https://github.com/metanorma/metanorma-standoc/is…","user":{"login":"opoudjis","id":1911039,"node_id":"MDQ6VXNlcjE5MTEwMzk=","avatar_url":"https://avatars3.githubusercontent.com/u/1911039?v=4","gravatar_id":"","url":"https://api.github.com/users/opoudjis","html_url":"https://github.com/opoudjis","followers_url":"https://api.github.com/users/opoudjis/followers","following_url":"https://api.github.com/users/opoudjis/following{/other_user}","gists_url":"https://api.github.com/users/opoudjis/gists{/gist_id}","starred_url":"https://api.github.com/users/opoudjis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opoudjis/subscriptions","organizations_url":"https://api.github.com/users/opoudjis/orgs","repos_url":"https://api.github.com/users/opoudjis/repos","events_url":"https://api.github.com/users/opoudjis/events{/privacy}","received_events_url":"https://api.github.com/users/opoudjis/received_events","type":"User","site_admin":false},"body":"…sues/122","created_at":"2019-09-30T12:38:28Z","updated_at":"2019-09-30T12:38:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aec8205102450dd0f41562cf5e74989782c8d5ca","assignee":{"login":"opoudjis","id":1911039,"node_id":"MDQ6VXNlcjE5MTEwMzk=","avatar_url":"https://avatars3.githubusercontent.com/u/1911039?v=4","gravatar_id":"","url":"https://api.github.com/users/opoudjis","html_url":"https://github.com/opoudjis","followers_url":"https://api.github.com/users/opoudjis/followers","following_url":"https://api.github.com/users/opoudjis/following{/other_user}","gists_url":"https://api.github.com/users/opoudjis/gists{/gist_id}","starred_url":"https://api.github.com/users/opoudjis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opoudjis/subscriptions","organizations_url":"https://api.github.com/users/opoudjis/orgs","repos_url":"https://api.github.com/users/opoudjis/repos","events_url":"https://api.github.com/users/opoudjis/events{/privacy}","received_events_url":"https://api.github.com/users/opoudjis/received_events","type":"User","site_admin":false},"assignees":[{"login":"opoudjis","id":1911039,"node_id":"MDQ6VXNlcjE5MTEwMzk=","avatar_url":"https://avatars3.githubusercontent.com/u/1911039?v=4","gravatar_id":"","url":"https://api.github.com/users/opoudjis","html_url":"https://github.com/opoudjis","followers_url":"https://api.github.com/users/opoudjis/followers","following_url":"https://api.github.com/users/opoudjis/following{/other_user}","gists_url":"https://api.github.com/users/opoudjis/gists{/gist_id}","starred_url":"https://api.github.com/users/opoudjis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opoudjis/subscriptions","organizations_url":"https://api.github.com/users/opoudjis/orgs","repos_url":"https://api.github.com/users/opoudjis/repos","events_url":"https://api.github.com/users/opoudjis/events{/privacy}","received_events_url":"https://api.github.com/users/opoudjis/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/metanorma/metanorma-gb/pulls/106/commits","review_comments_url":"https://api.github.com/repos/metanorma/metanorma-gb/pulls/106/comments","review_comment_url":"https://api.github.com/repos/metanorma/metanorma-gb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/metanorma/metanorma-gb/issues/106/comments","statuses_url":"https://api.github.com/repos/metanorma/metanorma-gb/statuses/91f73d84c074e7330cc02acf38585d48d08e45d2","head":{"label":"metanorma:feature/exampletitle","ref":"feature/exampletitle","sha":"91f73d84c074e7330cc02acf38585d48d08e45d2","user":{"login":"metanorma","id":39362184,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MzYyMTg0","avatar_url":"https://avatars0.githubusercontent.com/u/39362184?v=4","gravatar_id":"","url":"https://api.github.com/users/metanorma","html_url":"https://github.com/metanorma","followers_url":"https://api.github.com/users/metanorma/followers","following_url":"https://api.github.com/users/metanorma/following{/other_user}","gists_url":"https://api.github.com/users/metanorma/gists{/gist_id}","starred_url":"https://api.github.com/users/metanorma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metanorma/subscriptions","organizations_url":"https://api.github.com/users/metanorma/orgs","repos_url":"https://api.github.com/users/metanorma/repos","events_url":"https://api.github.com/users/metanorma/events{/privacy}","received_events_url":"https://api.github.com/users/metanorma/received_events","type":"Organization","site_admin":false},"repo":{"id":120268854,"node_id":"MDEwOlJlcG9zaXRvcnkxMjAyNjg4NTQ=","name":"metanorma-gb","full_name":"metanorma/metanorma-gb","private":false,"owner":{"login":"metanorma","id":39362184,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MzYyMTg0","avatar_url":"https://avatars0.githubusercontent.com/u/39362184?v=4","gravatar_id":"","url":"https://api.github.com/users/metanorma","html_url":"https://github.com/metanorma","followers_url":"https://api.github.com/users/metanorma/followers","following_url":"https://api.github.com/users/metanorma/following{/other_user}","gists_url":"https://api.github.com/users/metanorma/gists{/gist_id}","starred_url":"https://api.github.com/users/metanorma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metanorma/subscriptions","organizations_url":"https://api.github.com/users/metanorma/orgs","repos_url":"https://api.github.com/users/metanorma/repos","events_url":"https://api.github.com/users/metanorma/events{/privacy}","received_events_url":"https://api.github.com/users/metanorma/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/metanorma/metanorma-gb","description":"Metanorma processor for GB: write Chinese Standards using GbDoc","fork":false,"url":"https://api.github.com/repos/metanorma/metanorma-gb","forks_url":"https://api.github.com/repos/metanorma/metanorma-gb/forks","keys_url":"https://api.github.com/repos/metanorma/metanorma-gb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metanorma/metanorma-gb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metanorma/metanorma-gb/teams","hooks_url":"https://api.github.com/repos/metanorma/metanorma-gb/hooks","issue_events_url":"https://api.github.com/repos/metanorma/metanorma-gb/issues/events{/number}","events_url":"https://api.github.com/repos/metanorma/metanorma-gb/events","assignees_url":"https://api.github.com/repos/metanorma/metanorma-gb/assignees{/user}","branches_url":"https://api.github.com/repos/metanorma/metanorma-gb/branches{/branch}","tags_url":"https://api.github.com/repos/metanorma/metanorma-gb/tags","blobs_url":"https://api.github.com/repos/metanorma/metanorma-gb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metanorma/metanorma-gb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metanorma/metanorma-gb/git/refs{/sha}","trees_url":"https://api.github.com/repos/metanorma/metanorma-gb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metanorma/metanorma-gb/statuses/{sha}","languages_url":"https://api.github.com/repos/metanorma/metanorma-gb/languages","stargazers_url":"https://api.github.com/repos/metanorma/metanorma-gb/stargazers","contributors_url":"https://api.github.com/repos/metanorma/metanorma-gb/contributors","subscribers_url":"https://api.github.com/repos/metanorma/metanorma-gb/subscribers","subscription_url":"https://api.github.com/repos/metanorma/metanorma-gb/subscription","commits_url":"https://api.github.com/repos/metanorma/metanorma-gb/commits{/sha}","git_commits_url":"https://api.github.com/repos/metanorma/metanorma-gb/git/commits{/sha}","comments_url":"https://api.github.com/repos/metanorma/metanorma-gb/comments{/number}","issue_comment_url":"https://api.github.com/repos/metanorma/metanorma-gb/issues/comments{/number}","contents_url":"https://api.github.com/repos/metanorma/metanorma-gb/contents/{+path}","compare_url":"https://api.github.com/repos/metanorma/metanorma-gb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metanorma/metanorma-gb/merges","archive_url":"https://api.github.com/repos/metanorma/metanorma-gb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metanorma/metanorma-gb/downloads","issues_url":"https://api.github.com/repos/metanorma/metanorma-gb/issues{/number}","pulls_url":"https://api.github.com/repos/metanorma/metanorma-gb/pulls{/number}","milestones_url":"https://api.github.com/repos/metanorma/metanorma-gb/milestones{/number}","notifications_url":"https://api.github.com/repos/metanorma/metanorma-gb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metanorma/metanorma-gb/labels{/name}","releases_url":"https://api.github.com/repos/metanorma/metanorma-gb/releases{/id}","deployments_url":"https://api.github.com/repos/metanorma/metanorma-gb/deployments","created_at":"2018-02-05T07:17:30Z","updated_at":"2019-09-27T10:21:00Z","pushed_at":"2019-09-30T12:38:29Z","git_url":"git://github.com/metanorma/metanorma-gb.git","ssh_url":"git@github.com:metanorma/metanorma-gb.git","clone_url":"https://github.com/metanorma/metanorma-gb.git","svn_url":"https://github.com/metanorma/metanorma-gb","homepage":"","size":4314,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":6,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"base":{"label":"metanorma:master","ref":"master","sha":"f9b684aa156a22e8c12015f6c72b05e89d3eb53f","user":{"login":"metanorma","id":39362184,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MzYyMTg0","avatar_url":"https://avatars0.githubusercontent.com/u/39362184?v=4","gravatar_id":"","url":"https://api.github.com/users/metanorma","html_url":"https://github.com/metanorma","followers_url":"https://api.github.com/users/metanorma/followers","following_url":"https://api.github.com/users/metanorma/following{/other_user}","gists_url":"https://api.github.com/users/metanorma/gists{/gist_id}","starred_url":"https://api.github.com/users/metanorma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metanorma/subscriptions","organizations_url":"https://api.github.com/users/metanorma/orgs","repos_url":"https://api.github.com/users/metanorma/repos","events_url":"https://api.github.com/users/metanorma/events{/privacy}","received_events_url":"https://api.github.com/users/metanorma/received_events","type":"Organization","site_admin":false},"repo":{"id":120268854,"node_id":"MDEwOlJlcG9zaXRvcnkxMjAyNjg4NTQ=","name":"metanorma-gb","full_name":"metanorma/metanorma-gb","private":false,"owner":{"login":"metanorma","id":39362184,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MzYyMTg0","avatar_url":"https://avatars0.githubusercontent.com/u/39362184?v=4","gravatar_id":"","url":"https://api.github.com/users/metanorma","html_url":"https://github.com/metanorma","followers_url":"https://api.github.com/users/metanorma/followers","following_url":"https://api.github.com/users/metanorma/following{/other_user}","gists_url":"https://api.github.com/users/metanorma/gists{/gist_id}","starred_url":"https://api.github.com/users/metanorma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metanorma/subscriptions","organizations_url":"https://api.github.com/users/metanorma/orgs","repos_url":"https://api.github.com/users/metanorma/repos","events_url":"https://api.github.com/users/metanorma/events{/privacy}","received_events_url":"https://api.github.com/users/metanorma/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/metanorma/metanorma-gb","description":"Metanorma processor for GB: write Chinese Standards using GbDoc","fork":false,"url":"https://api.github.com/repos/metanorma/metanorma-gb","forks_url":"https://api.github.com/repos/metanorma/metanorma-gb/forks","keys_url":"https://api.github.com/repos/metanorma/metanorma-gb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metanorma/metanorma-gb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metanorma/metanorma-gb/teams","hooks_url":"https://api.github.com/repos/metanorma/metanorma-gb/hooks","issue_events_url":"https://api.github.com/repos/metanorma/metanorma-gb/issues/events{/number}","events_url":"https://api.github.com/repos/metanorma/metanorma-gb/events","assignees_url":"https://api.github.com/repos/metanorma/metanorma-gb/assignees{/user}","branches_url":"https://api.github.com/repos/metanorma/metanorma-gb/branches{/branch}","tags_url":"https://api.github.com/repos/metanorma/metanorma-gb/tags","blobs_url":"https://api.github.com/repos/metanorma/metanorma-gb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metanorma/metanorma-gb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metanorma/metanorma-gb/git/refs{/sha}","trees_url":"https://api.github.com/repos/metanorma/metanorma-gb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metanorma/metanorma-gb/statuses/{sha}","languages_url":"https://api.github.com/repos/metanorma/metanorma-gb/languages","stargazers_url":"https://api.github.com/repos/metanorma/metanorma-gb/stargazers","contributors_url":"https://api.github.com/repos/metanorma/metanorma-gb/contributors","subscribers_url":"https://api.github.com/repos/metanorma/metanorma-gb/subscribers","subscription_url":"https://api.github.com/repos/metanorma/metanorma-gb/subscription","commits_url":"https://api.github.com/repos/metanorma/metanorma-gb/commits{/sha}","git_commits_url":"https://api.github.com/repos/metanorma/metanorma-gb/git/commits{/sha}","comments_url":"https://api.github.com/repos/metanorma/metanorma-gb/comments{/number}","issue_comment_url":"https://api.github.com/repos/metanorma/metanorma-gb/issues/comments{/number}","contents_url":"https://api.github.com/repos/metanorma/metanorma-gb/contents/{+path}","compare_url":"https://api.github.com/repos/metanorma/metanorma-gb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metanorma/metanorma-gb/merges","archive_url":"https://api.github.com/repos/metanorma/metanorma-gb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metanorma/metanorma-gb/downloads","issues_url":"https://api.github.com/repos/metanorma/metanorma-gb/issues{/number}","pulls_url":"https://api.github.com/repos/metanorma/metanorma-gb/pulls{/number}","milestones_url":"https://api.github.com/repos/metanorma/metanorma-gb/milestones{/number}","notifications_url":"https://api.github.com/repos/metanorma/metanorma-gb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metanorma/metanorma-gb/labels{/name}","releases_url":"https://api.github.com/repos/metanorma/metanorma-gb/releases{/id}","deployments_url":"https://api.github.com/repos/metanorma/metanorma-gb/deployments","created_at":"2018-02-05T07:17:30Z","updated_at":"2019-09-27T10:21:00Z","pushed_at":"2019-09-30T12:38:29Z","git_url":"git://github.com/metanorma/metanorma-gb.git","ssh_url":"git@github.com:metanorma/metanorma-gb.git","clone_url":"https://github.com/metanorma/metanorma-gb.git","svn_url":"https://github.com/metanorma/metanorma-gb","homepage":"","size":4314,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":6,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause","node_id":"MDc6TGljZW5zZTQ="},"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/metanorma/metanorma-gb/pulls/106"},"html":{"href":"https://github.com/metanorma/metanorma-gb/pull/106"},"issue":{"href":"https://api.github.com/repos/metanorma/metanorma-gb/issues/106"},"comments":{"href":"https://api.github.com/repos/metanorma/metanorma-gb/issues/106/comments"},"review_comments":{"href":"https://api.github.com/repos/metanorma/metanorma-gb/pulls/106/comments"},"review_comment":{"href":"https://api.github.com/repos/metanorma/metanorma-gb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/metanorma/metanorma-gb/pulls/106/commits"},"statuses":{"href":"https://api.github.com/repos/metanorma/metanorma-gb/statuses/91f73d84c074e7330cc02acf38585d48d08e45d2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"hound"}}