{"action":"created","comment":{"url":"https://api.github.com/repos/Khan/KaTeX/pulls/comments/187773447","pull_request_review_id":119626943,"id":187773447,"diff_hunk":"@@ -46,6 +60,18 @@ function parseArray(\n     let row = [];\n     const body = [row];\n     const rowGaps = [];\n+    const numHLinesBeforeRow = [];\n+\n+    // Test for \\hline at the top of the array.\n+    if (nextTokenIsHLine(parser)) {\n+        numHLinesBeforeRow.push(1);\n+        if (nextTokenIsHLine(parser)) {\n+            numHLinesBeforeRow[0] = 2;\n+        }\n+    } else {","path":"src/environments/array.js","position":35,"original_position":35,"commit_id":"1c24281b2af20e8248fe772b8df0b486cf05ec2e","original_commit_id":"1c24281b2af20e8248fe772b8df0b486cf05ec2e","user":{"login":"ronkok","id":16403058,"avatar_url":"https://avatars3.githubusercontent.com/u/16403058?v=4","gravatar_id":"","url":"https://api.github.com/users/ronkok","html_url":"https://github.com/ronkok","followers_url":"https://api.github.com/users/ronkok/followers","following_url":"https://api.github.com/users/ronkok/following{/other_user}","gists_url":"https://api.github.com/users/ronkok/gists{/gist_id}","starred_url":"https://api.github.com/users/ronkok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronkok/subscriptions","organizations_url":"https://api.github.com/users/ronkok/orgs","repos_url":"https://api.github.com/users/ronkok/repos","events_url":"https://api.github.com/users/ronkok/events{/privacy}","received_events_url":"https://api.github.com/users/ronkok/received_events","type":"User","site_admin":false},"body":"Until just now, I had never tried more than two `\\hline`s. `while` loop coming right up.","created_at":"2018-05-12T13:50:09Z","updated_at":"2018-05-12T13:50:09Z","html_url":"https://github.com/Khan/KaTeX/pull/1306#discussion_r187773447","pull_request_url":"https://api.github.com/repos/Khan/KaTeX/pulls/1306","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/comments/187773447"},"html":{"href":"https://github.com/Khan/KaTeX/pull/1306#discussion_r187773447"},"pull_request":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/1306"}},"in_reply_to_id":187768936},"pull_request":{"url":"https://api.github.com/repos/Khan/KaTeX/pulls/1306","id":187345085,"html_url":"https://github.com/Khan/KaTeX/pull/1306","diff_url":"https://github.com/Khan/KaTeX/pull/1306.diff","patch_url":"https://github.com/Khan/KaTeX/pull/1306.patch","issue_url":"https://api.github.com/repos/Khan/KaTeX/issues/1306","number":1306,"state":"open","locked":false,"title":"Support \\hline","user":{"login":"ronkok","id":16403058,"avatar_url":"https://avatars3.githubusercontent.com/u/16403058?v=4","gravatar_id":"","url":"https://api.github.com/users/ronkok","html_url":"https://github.com/ronkok","followers_url":"https://api.github.com/users/ronkok/followers","following_url":"https://api.github.com/users/ronkok/following{/other_user}","gists_url":"https://api.github.com/users/ronkok/gists{/gist_id}","starred_url":"https://api.github.com/users/ronkok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronkok/subscriptions","organizations_url":"https://api.github.com/users/ronkok/orgs","repos_url":"https://api.github.com/users/ronkok/repos","events_url":"https://api.github.com/users/ronkok/events{/privacy}","received_events_url":"https://api.github.com/users/ronkok/received_events","type":"User","site_admin":false},"body":"Support `\\hline`.","created_at":"2018-05-11T01:14:40Z","updated_at":"2018-05-12T13:50:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"59b32335de4f6d28d4ca8fb1f582c67bdee57c71","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Khan/KaTeX/pulls/1306/commits","review_comments_url":"https://api.github.com/repos/Khan/KaTeX/pulls/1306/comments","review_comment_url":"https://api.github.com/repos/Khan/KaTeX/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Khan/KaTeX/issues/1306/comments","statuses_url":"https://api.github.com/repos/Khan/KaTeX/statuses/1c24281b2af20e8248fe772b8df0b486cf05ec2e","head":{"label":"ronkok:hline","ref":"hline","sha":"1c24281b2af20e8248fe772b8df0b486cf05ec2e","user":{"login":"ronkok","id":16403058,"avatar_url":"https://avatars3.githubusercontent.com/u/16403058?v=4","gravatar_id":"","url":"https://api.github.com/users/ronkok","html_url":"https://github.com/ronkok","followers_url":"https://api.github.com/users/ronkok/followers","following_url":"https://api.github.com/users/ronkok/following{/other_user}","gists_url":"https://api.github.com/users/ronkok/gists{/gist_id}","starred_url":"https://api.github.com/users/ronkok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronkok/subscriptions","organizations_url":"https://api.github.com/users/ronkok/orgs","repos_url":"https://api.github.com/users/ronkok/repos","events_url":"https://api.github.com/users/ronkok/events{/privacy}","received_events_url":"https://api.github.com/users/ronkok/received_events","type":"User","site_admin":false},"repo":{"id":120239578,"name":"KaTeX","full_name":"ronkok/KaTeX","owner":{"login":"ronkok","id":16403058,"avatar_url":"https://avatars3.githubusercontent.com/u/16403058?v=4","gravatar_id":"","url":"https://api.github.com/users/ronkok","html_url":"https://github.com/ronkok","followers_url":"https://api.github.com/users/ronkok/followers","following_url":"https://api.github.com/users/ronkok/following{/other_user}","gists_url":"https://api.github.com/users/ronkok/gists{/gist_id}","starred_url":"https://api.github.com/users/ronkok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronkok/subscriptions","organizations_url":"https://api.github.com/users/ronkok/orgs","repos_url":"https://api.github.com/users/ronkok/repos","events_url":"https://api.github.com/users/ronkok/events{/privacy}","received_events_url":"https://api.github.com/users/ronkok/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ronkok/KaTeX","description":"Fast math typesetting for the web.","fork":true,"url":"https://api.github.com/repos/ronkok/KaTeX","forks_url":"https://api.github.com/repos/ronkok/KaTeX/forks","keys_url":"https://api.github.com/repos/ronkok/KaTeX/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ronkok/KaTeX/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ronkok/KaTeX/teams","hooks_url":"https://api.github.com/repos/ronkok/KaTeX/hooks","issue_events_url":"https://api.github.com/repos/ronkok/KaTeX/issues/events{/number}","events_url":"https://api.github.com/repos/ronkok/KaTeX/events","assignees_url":"https://api.github.com/repos/ronkok/KaTeX/assignees{/user}","branches_url":"https://api.github.com/repos/ronkok/KaTeX/branches{/branch}","tags_url":"https://api.github.com/repos/ronkok/KaTeX/tags","blobs_url":"https://api.github.com/repos/ronkok/KaTeX/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ronkok/KaTeX/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ronkok/KaTeX/git/refs{/sha}","trees_url":"https://api.github.com/repos/ronkok/KaTeX/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ronkok/KaTeX/statuses/{sha}","languages_url":"https://api.github.com/repos/ronkok/KaTeX/languages","stargazers_url":"https://api.github.com/repos/ronkok/KaTeX/stargazers","contributors_url":"https://api.github.com/repos/ronkok/KaTeX/contributors","subscribers_url":"https://api.github.com/repos/ronkok/KaTeX/subscribers","subscription_url":"https://api.github.com/repos/ronkok/KaTeX/subscription","commits_url":"https://api.github.com/repos/ronkok/KaTeX/commits{/sha}","git_commits_url":"https://api.github.com/repos/ronkok/KaTeX/git/commits{/sha}","comments_url":"https://api.github.com/repos/ronkok/KaTeX/comments{/number}","issue_comment_url":"https://api.github.com/repos/ronkok/KaTeX/issues/comments{/number}","contents_url":"https://api.github.com/repos/ronkok/KaTeX/contents/{+path}","compare_url":"https://api.github.com/repos/ronkok/KaTeX/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ronkok/KaTeX/merges","archive_url":"https://api.github.com/repos/ronkok/KaTeX/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ronkok/KaTeX/downloads","issues_url":"https://api.github.com/repos/ronkok/KaTeX/issues{/number}","pulls_url":"https://api.github.com/repos/ronkok/KaTeX/pulls{/number}","milestones_url":"https://api.github.com/repos/ronkok/KaTeX/milestones{/number}","notifications_url":"https://api.github.com/repos/ronkok/KaTeX/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ronkok/KaTeX/labels{/name}","releases_url":"https://api.github.com/repos/ronkok/KaTeX/releases{/id}","deployments_url":"https://api.github.com/repos/ronkok/KaTeX/deployments","created_at":"2018-02-05T01:23:40Z","updated_at":"2018-05-11T01:03:29Z","pushed_at":"2018-05-11T18:37:55Z","git_url":"git://github.com/ronkok/KaTeX.git","ssh_url":"git@github.com:ronkok/KaTeX.git","clone_url":"https://github.com/ronkok/KaTeX.git","svn_url":"https://github.com/ronkok/KaTeX","homepage":"https://khan.github.io/KaTeX/","size":25061,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Khan:master","ref":"master","sha":"9bb48b83f16382271906a7ec77a597466126e436","user":{"login":"Khan","id":15455,"avatar_url":"https://avatars1.githubusercontent.com/u/15455?v=4","gravatar_id":"","url":"https://api.github.com/users/Khan","html_url":"https://github.com/Khan","followers_url":"https://api.github.com/users/Khan/followers","following_url":"https://api.github.com/users/Khan/following{/other_user}","gists_url":"https://api.github.com/users/Khan/gists{/gist_id}","starred_url":"https://api.github.com/users/Khan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khan/subscriptions","organizations_url":"https://api.github.com/users/Khan/orgs","repos_url":"https://api.github.com/users/Khan/repos","events_url":"https://api.github.com/users/Khan/events{/privacy}","received_events_url":"https://api.github.com/users/Khan/received_events","type":"Organization","site_admin":false},"repo":{"id":11195700,"name":"KaTeX","full_name":"Khan/KaTeX","owner":{"login":"Khan","id":15455,"avatar_url":"https://avatars1.githubusercontent.com/u/15455?v=4","gravatar_id":"","url":"https://api.github.com/users/Khan","html_url":"https://github.com/Khan","followers_url":"https://api.github.com/users/Khan/followers","following_url":"https://api.github.com/users/Khan/following{/other_user}","gists_url":"https://api.github.com/users/Khan/gists{/gist_id}","starred_url":"https://api.github.com/users/Khan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khan/subscriptions","organizations_url":"https://api.github.com/users/Khan/orgs","repos_url":"https://api.github.com/users/Khan/repos","events_url":"https://api.github.com/users/Khan/events{/privacy}","received_events_url":"https://api.github.com/users/Khan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Khan/KaTeX","description":"Fast math typesetting for the web.","fork":false,"url":"https://api.github.com/repos/Khan/KaTeX","forks_url":"https://api.github.com/repos/Khan/KaTeX/forks","keys_url":"https://api.github.com/repos/Khan/KaTeX/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Khan/KaTeX/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Khan/KaTeX/teams","hooks_url":"https://api.github.com/repos/Khan/KaTeX/hooks","issue_events_url":"https://api.github.com/repos/Khan/KaTeX/issues/events{/number}","events_url":"https://api.github.com/repos/Khan/KaTeX/events","assignees_url":"https://api.github.com/repos/Khan/KaTeX/assignees{/user}","branches_url":"https://api.github.com/repos/Khan/KaTeX/branches{/branch}","tags_url":"https://api.github.com/repos/Khan/KaTeX/tags","blobs_url":"https://api.github.com/repos/Khan/KaTeX/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Khan/KaTeX/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Khan/KaTeX/git/refs{/sha}","trees_url":"https://api.github.com/repos/Khan/KaTeX/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Khan/KaTeX/statuses/{sha}","languages_url":"https://api.github.com/repos/Khan/KaTeX/languages","stargazers_url":"https://api.github.com/repos/Khan/KaTeX/stargazers","contributors_url":"https://api.github.com/repos/Khan/KaTeX/contributors","subscribers_url":"https://api.github.com/repos/Khan/KaTeX/subscribers","subscription_url":"https://api.github.com/repos/Khan/KaTeX/subscription","commits_url":"https://api.github.com/repos/Khan/KaTeX/commits{/sha}","git_commits_url":"https://api.github.com/repos/Khan/KaTeX/git/commits{/sha}","comments_url":"https://api.github.com/repos/Khan/KaTeX/comments{/number}","issue_comment_url":"https://api.github.com/repos/Khan/KaTeX/issues/comments{/number}","contents_url":"https://api.github.com/repos/Khan/KaTeX/contents/{+path}","compare_url":"https://api.github.com/repos/Khan/KaTeX/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Khan/KaTeX/merges","archive_url":"https://api.github.com/repos/Khan/KaTeX/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Khan/KaTeX/downloads","issues_url":"https://api.github.com/repos/Khan/KaTeX/issues{/number}","pulls_url":"https://api.github.com/repos/Khan/KaTeX/pulls{/number}","milestones_url":"https://api.github.com/repos/Khan/KaTeX/milestones{/number}","notifications_url":"https://api.github.com/repos/Khan/KaTeX/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Khan/KaTeX/labels{/name}","releases_url":"https://api.github.com/repos/Khan/KaTeX/releases{/id}","deployments_url":"https://api.github.com/repos/Khan/KaTeX/deployments","created_at":"2013-07-05T09:01:54Z","updated_at":"2018-05-12T09:15:55Z","pushed_at":"2018-05-12T12:52:41Z","git_url":"git://github.com/Khan/KaTeX.git","ssh_url":"git@github.com:Khan/KaTeX.git","clone_url":"https://github.com/Khan/KaTeX.git","svn_url":"https://github.com/Khan/KaTeX","homepage":"https://khan.github.io/KaTeX/","size":27523,"stargazers_count":8236,"watchers_count":8236,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":573,"mirror_url":null,"archived":false,"open_issues_count":195,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":573,"open_issues":195,"watchers":8236,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/1306"},"html":{"href":"https://github.com/Khan/KaTeX/pull/1306"},"issue":{"href":"https://api.github.com/repos/Khan/KaTeX/issues/1306"},"comments":{"href":"https://api.github.com/repos/Khan/KaTeX/issues/1306/comments"},"review_comments":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/1306/comments"},"review_comment":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/1306/commits"},"statuses":{"href":"https://api.github.com/repos/Khan/KaTeX/statuses/1c24281b2af20e8248fe772b8df0b486cf05ec2e"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ronkok"}}