{"action":"closed","number":21,"pull_request":{"url":"https://api.github.com/repos/kristapsdz/lowdown/pulls/21","id":220899829,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwODk5ODI5","html_url":"https://github.com/kristapsdz/lowdown/pull/21","diff_url":"https://github.com/kristapsdz/lowdown/pull/21.diff","patch_url":"https://github.com/kristapsdz/lowdown/pull/21.patch","issue_url":"https://api.github.com/repos/kristapsdz/lowdown/issues/21","number":21,"state":"closed","locked":false,"title":"Fix math rendering","user":{"login":"joedavis","id":368852,"node_id":"MDQ6VXNlcjM2ODg1Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/368852?v=4","gravatar_id":"","url":"https://api.github.com/users/joedavis","html_url":"https://github.com/joedavis","followers_url":"https://api.github.com/users/joedavis/followers","following_url":"https://api.github.com/users/joedavis/following{/other_user}","gists_url":"https://api.github.com/users/joedavis/gists{/gist_id}","starred_url":"https://api.github.com/users/joedavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joedavis/subscriptions","organizations_url":"https://api.github.com/users/joedavis/orgs","repos_url":"https://api.github.com/users/joedavis/repos","events_url":"https://api.github.com/users/joedavis/events{/privacy}","received_events_url":"https://api.github.com/users/joedavis/received_events","type":"User","site_admin":false},"body":"Currently math support (`-e math` and `-e mathexp`) appears to be broken. For example:\r\n\r\n    $ax^2 + bx + 1$\r\n\r\nBecomes\r\n\r\n    \\(\\)\r\n\r\nIn the HTML output.\r\n\r\nThe previous code was creating a local `hbuf text`, and not returning it or storing it. This patch moves the `hbuf text` into `struct rndr_math`, and uses that to properly render the above as\r\n\r\n    \\(ax^2 + bx + 1\\)","created_at":"2018-10-06T17:26:54Z","updated_at":"2018-12-23T19:33:46Z","closed_at":"2018-12-23T19:33:46Z","merged_at":null,"merge_commit_sha":"0033d56e98d61b66e2a507714342ee319d774e43","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kristapsdz/lowdown/pulls/21/commits","review_comments_url":"https://api.github.com/repos/kristapsdz/lowdown/pulls/21/comments","review_comment_url":"https://api.github.com/repos/kristapsdz/lowdown/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kristapsdz/lowdown/issues/21/comments","statuses_url":"https://api.github.com/repos/kristapsdz/lowdown/statuses/95103e6af64111b0bde556101208a5f9bed96554","head":{"label":"joedavis:master","ref":"master","sha":"95103e6af64111b0bde556101208a5f9bed96554","user":{"login":"joedavis","id":368852,"node_id":"MDQ6VXNlcjM2ODg1Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/368852?v=4","gravatar_id":"","url":"https://api.github.com/users/joedavis","html_url":"https://github.com/joedavis","followers_url":"https://api.github.com/users/joedavis/followers","following_url":"https://api.github.com/users/joedavis/following{/other_user}","gists_url":"https://api.github.com/users/joedavis/gists{/gist_id}","starred_url":"https://api.github.com/users/joedavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joedavis/subscriptions","organizations_url":"https://api.github.com/users/joedavis/orgs","repos_url":"https://api.github.com/users/joedavis/repos","events_url":"https://api.github.com/users/joedavis/events{/privacy}","received_events_url":"https://api.github.com/users/joedavis/received_events","type":"User","site_admin":false},"repo":{"id":146994507,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY5OTQ1MDc=","name":"lowdown","full_name":"joedavis/lowdown","private":false,"owner":{"login":"joedavis","id":368852,"node_id":"MDQ6VXNlcjM2ODg1Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/368852?v=4","gravatar_id":"","url":"https://api.github.com/users/joedavis","html_url":"https://github.com/joedavis","followers_url":"https://api.github.com/users/joedavis/followers","following_url":"https://api.github.com/users/joedavis/following{/other_user}","gists_url":"https://api.github.com/users/joedavis/gists{/gist_id}","starred_url":"https://api.github.com/users/joedavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joedavis/subscriptions","organizations_url":"https://api.github.com/users/joedavis/orgs","repos_url":"https://api.github.com/users/joedavis/repos","events_url":"https://api.github.com/users/joedavis/events{/privacy}","received_events_url":"https://api.github.com/users/joedavis/received_events","type":"User","site_admin":false},"html_url":"https://github.com/joedavis/lowdown","description":"simple markdown translator","fork":true,"url":"https://api.github.com/repos/joedavis/lowdown","forks_url":"https://api.github.com/repos/joedavis/lowdown/forks","keys_url":"https://api.github.com/repos/joedavis/lowdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joedavis/lowdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joedavis/lowdown/teams","hooks_url":"https://api.github.com/repos/joedavis/lowdown/hooks","issue_events_url":"https://api.github.com/repos/joedavis/lowdown/issues/events{/number}","events_url":"https://api.github.com/repos/joedavis/lowdown/events","assignees_url":"https://api.github.com/repos/joedavis/lowdown/assignees{/user}","branches_url":"https://api.github.com/repos/joedavis/lowdown/branches{/branch}","tags_url":"https://api.github.com/repos/joedavis/lowdown/tags","blobs_url":"https://api.github.com/repos/joedavis/lowdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joedavis/lowdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joedavis/lowdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/joedavis/lowdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joedavis/lowdown/statuses/{sha}","languages_url":"https://api.github.com/repos/joedavis/lowdown/languages","stargazers_url":"https://api.github.com/repos/joedavis/lowdown/stargazers","contributors_url":"https://api.github.com/repos/joedavis/lowdown/contributors","subscribers_url":"https://api.github.com/repos/joedavis/lowdown/subscribers","subscription_url":"https://api.github.com/repos/joedavis/lowdown/subscription","commits_url":"https://api.github.com/repos/joedavis/lowdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/joedavis/lowdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/joedavis/lowdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/joedavis/lowdown/issues/comments{/number}","contents_url":"https://api.github.com/repos/joedavis/lowdown/contents/{+path}","compare_url":"https://api.github.com/repos/joedavis/lowdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joedavis/lowdown/merges","archive_url":"https://api.github.com/repos/joedavis/lowdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joedavis/lowdown/downloads","issues_url":"https://api.github.com/repos/joedavis/lowdown/issues{/number}","pulls_url":"https://api.github.com/repos/joedavis/lowdown/pulls{/number}","milestones_url":"https://api.github.com/repos/joedavis/lowdown/milestones{/number}","notifications_url":"https://api.github.com/repos/joedavis/lowdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joedavis/lowdown/labels{/name}","releases_url":"https://api.github.com/repos/joedavis/lowdown/releases{/id}","deployments_url":"https://api.github.com/repos/joedavis/lowdown/deployments","created_at":"2018-09-01T11:57:25Z","updated_at":"2018-10-08T17:47:48Z","pushed_at":"2018-10-08T17:47:46Z","git_url":"git://github.com/joedavis/lowdown.git","ssh_url":"git@github.com:joedavis/lowdown.git","clone_url":"https://github.com/joedavis/lowdown.git","svn_url":"https://github.com/joedavis/lowdown","homepage":"https://kristaps.bsd.lv/lowdown","size":572,"stargazers_count":0,"watchers_count":0,"language":"C","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":0,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kristapsdz:master","ref":"master","sha":"83ec7414db9f6be893d9c0938c1400a72be46e7c","user":{"login":"kristapsdz","id":884382,"node_id":"MDQ6VXNlcjg4NDM4Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/884382?v=4","gravatar_id":"","url":"https://api.github.com/users/kristapsdz","html_url":"https://github.com/kristapsdz","followers_url":"https://api.github.com/users/kristapsdz/followers","following_url":"https://api.github.com/users/kristapsdz/following{/other_user}","gists_url":"https://api.github.com/users/kristapsdz/gists{/gist_id}","starred_url":"https://api.github.com/users/kristapsdz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristapsdz/subscriptions","organizations_url":"https://api.github.com/users/kristapsdz/orgs","repos_url":"https://api.github.com/users/kristapsdz/repos","events_url":"https://api.github.com/users/kristapsdz/events{/privacy}","received_events_url":"https://api.github.com/users/kristapsdz/received_events","type":"User","site_admin":false},"repo":{"id":75839523,"node_id":"MDEwOlJlcG9zaXRvcnk3NTgzOTUyMw==","name":"lowdown","full_name":"kristapsdz/lowdown","private":false,"owner":{"login":"kristapsdz","id":884382,"node_id":"MDQ6VXNlcjg4NDM4Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/884382?v=4","gravatar_id":"","url":"https://api.github.com/users/kristapsdz","html_url":"https://github.com/kristapsdz","followers_url":"https://api.github.com/users/kristapsdz/followers","following_url":"https://api.github.com/users/kristapsdz/following{/other_user}","gists_url":"https://api.github.com/users/kristapsdz/gists{/gist_id}","starred_url":"https://api.github.com/users/kristapsdz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristapsdz/subscriptions","organizations_url":"https://api.github.com/users/kristapsdz/orgs","repos_url":"https://api.github.com/users/kristapsdz/repos","events_url":"https://api.github.com/users/kristapsdz/events{/privacy}","received_events_url":"https://api.github.com/users/kristapsdz/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kristapsdz/lowdown","description":"simple markdown translator","fork":false,"url":"https://api.github.com/repos/kristapsdz/lowdown","forks_url":"https://api.github.com/repos/kristapsdz/lowdown/forks","keys_url":"https://api.github.com/repos/kristapsdz/lowdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kristapsdz/lowdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kristapsdz/lowdown/teams","hooks_url":"https://api.github.com/repos/kristapsdz/lowdown/hooks","issue_events_url":"https://api.github.com/repos/kristapsdz/lowdown/issues/events{/number}","events_url":"https://api.github.com/repos/kristapsdz/lowdown/events","assignees_url":"https://api.github.com/repos/kristapsdz/lowdown/assignees{/user}","branches_url":"https://api.github.com/repos/kristapsdz/lowdown/branches{/branch}","tags_url":"https://api.github.com/repos/kristapsdz/lowdown/tags","blobs_url":"https://api.github.com/repos/kristapsdz/lowdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kristapsdz/lowdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kristapsdz/lowdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/kristapsdz/lowdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kristapsdz/lowdown/statuses/{sha}","languages_url":"https://api.github.com/repos/kristapsdz/lowdown/languages","stargazers_url":"https://api.github.com/repos/kristapsdz/lowdown/stargazers","contributors_url":"https://api.github.com/repos/kristapsdz/lowdown/contributors","subscribers_url":"https://api.github.com/repos/kristapsdz/lowdown/subscribers","subscription_url":"https://api.github.com/repos/kristapsdz/lowdown/subscription","commits_url":"https://api.github.com/repos/kristapsdz/lowdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/kristapsdz/lowdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/kristapsdz/lowdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/kristapsdz/lowdown/issues/comments{/number}","contents_url":"https://api.github.com/repos/kristapsdz/lowdown/contents/{+path}","compare_url":"https://api.github.com/repos/kristapsdz/lowdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kristapsdz/lowdown/merges","archive_url":"https://api.github.com/repos/kristapsdz/lowdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kristapsdz/lowdown/downloads","issues_url":"https://api.github.com/repos/kristapsdz/lowdown/issues{/number}","pulls_url":"https://api.github.com/repos/kristapsdz/lowdown/pulls{/number}","milestones_url":"https://api.github.com/repos/kristapsdz/lowdown/milestones{/number}","notifications_url":"https://api.github.com/repos/kristapsdz/lowdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kristapsdz/lowdown/labels{/name}","releases_url":"https://api.github.com/repos/kristapsdz/lowdown/releases{/id}","deployments_url":"https://api.github.com/repos/kristapsdz/lowdown/deployments","created_at":"2016-12-07T13:41:01Z","updated_at":"2018-12-23T19:31:01Z","pushed_at":"2018-12-23T19:30:58Z","git_url":"git://github.com/kristapsdz/lowdown.git","ssh_url":"git@github.com:kristapsdz/lowdown.git","clone_url":"https://github.com/kristapsdz/lowdown.git","svn_url":"https://github.com/kristapsdz/lowdown","homepage":"https://kristaps.bsd.lv/lowdown","size":571,"stargazers_count":60,"watchers_count":60,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":10,"open_issues":1,"watchers":60,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kristapsdz/lowdown/pulls/21"},"html":{"href":"https://github.com/kristapsdz/lowdown/pull/21"},"issue":{"href":"https://api.github.com/repos/kristapsdz/lowdown/issues/21"},"comments":{"href":"https://api.github.com/repos/kristapsdz/lowdown/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/kristapsdz/lowdown/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/kristapsdz/lowdown/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kristapsdz/lowdown/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/kristapsdz/lowdown/statuses/95103e6af64111b0bde556101208a5f9bed96554"}},"author_association":"NONE","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":6,"deletions":9,"changed_files":3}}
{"actor":{"display_login":"kristapsdz"}}