{"action":"closed","number":148,"pull_request":{"url":"https://api.github.com/repos/domchristie/to-markdown/pulls/148","id":71846644,"html_url":"https://github.com/domchristie/to-markdown/pull/148","diff_url":"https://github.com/domchristie/to-markdown/pull/148.diff","patch_url":"https://github.com/domchristie/to-markdown/pull/148.patch","issue_url":"https://api.github.com/repos/domchristie/to-markdown/issues/148","number":148,"state":"closed","locked":false,"title":"Bug with Whitespace trimming for bold links.","user":{"login":"Paul-n4l","id":16180374,"avatar_url":"https://avatars.githubusercontent.com/u/16180374?v=3","gravatar_id":"","url":"https://api.github.com/users/Paul-n4l","html_url":"https://github.com/Paul-n4l","followers_url":"https://api.github.com/users/Paul-n4l/followers","following_url":"https://api.github.com/users/Paul-n4l/following{/other_user}","gists_url":"https://api.github.com/users/Paul-n4l/gists{/gist_id}","starred_url":"https://api.github.com/users/Paul-n4l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paul-n4l/subscriptions","organizations_url":"https://api.github.com/users/Paul-n4l/orgs","repos_url":"https://api.github.com/users/Paul-n4l/repos","events_url":"https://api.github.com/users/Paul-n4l/events{/privacy}","received_events_url":"https://api.github.com/users/Paul-n4l/received_events","type":"User","site_admin":false},"body":"Hi, I've noticed a bug in how to-markdown handles whitespace trimming for links.\r\n\r\nThe following html \r\n```\r\nHello <strong><a href=\"https://www.google.com\">Hello </a></strong>Hello\r\n``` \r\n\r\nWould be converted into markdown as \r\n```\r\nHello **[Hello](https://www.google.com) **Hello\r\n```\r\n\r\nWhich results in incorrect markup when rendered using [markdown-it](https://github.com/markdown-it/markdown-it)\r\n\r\nThis pull request makes it so that the above html is converted to \r\n```\r\nHello **[Hello](https://www.google.com)** Hello\r\n```\r\nWhich renders correctly as a bold link.","created_at":"2016-05-30T02:34:53Z","updated_at":"2016-09-29T18:29:38Z","closed_at":"2016-09-29T18:29:38Z","merged_at":"2016-09-29T18:29:38Z","merge_commit_sha":"9487276ef8064556d2a2ef5e7cf4ea8cc3f46ff8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/domchristie/to-markdown/pulls/148/commits","review_comments_url":"https://api.github.com/repos/domchristie/to-markdown/pulls/148/comments","review_comment_url":"https://api.github.com/repos/domchristie/to-markdown/pulls/comments{/number}","comments_url":"https://api.github.com/repos/domchristie/to-markdown/issues/148/comments","statuses_url":"https://api.github.com/repos/domchristie/to-markdown/statuses/87bc0bcf5f796c62aafdcf535966de43fa07c05b","head":{"label":"Paul-n4l:bold-link-whitespace-fix","ref":"bold-link-whitespace-fix","sha":"87bc0bcf5f796c62aafdcf535966de43fa07c05b","user":{"login":"Paul-n4l","id":16180374,"avatar_url":"https://avatars.githubusercontent.com/u/16180374?v=3","gravatar_id":"","url":"https://api.github.com/users/Paul-n4l","html_url":"https://github.com/Paul-n4l","followers_url":"https://api.github.com/users/Paul-n4l/followers","following_url":"https://api.github.com/users/Paul-n4l/following{/other_user}","gists_url":"https://api.github.com/users/Paul-n4l/gists{/gist_id}","starred_url":"https://api.github.com/users/Paul-n4l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paul-n4l/subscriptions","organizations_url":"https://api.github.com/users/Paul-n4l/orgs","repos_url":"https://api.github.com/users/Paul-n4l/repos","events_url":"https://api.github.com/users/Paul-n4l/events{/privacy}","received_events_url":"https://api.github.com/users/Paul-n4l/received_events","type":"User","site_admin":false},"repo":{"id":59972002,"name":"to-markdown","full_name":"Paul-n4l/to-markdown","owner":{"login":"Paul-n4l","id":16180374,"avatar_url":"https://avatars.githubusercontent.com/u/16180374?v=3","gravatar_id":"","url":"https://api.github.com/users/Paul-n4l","html_url":"https://github.com/Paul-n4l","followers_url":"https://api.github.com/users/Paul-n4l/followers","following_url":"https://api.github.com/users/Paul-n4l/following{/other_user}","gists_url":"https://api.github.com/users/Paul-n4l/gists{/gist_id}","starred_url":"https://api.github.com/users/Paul-n4l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paul-n4l/subscriptions","organizations_url":"https://api.github.com/users/Paul-n4l/orgs","repos_url":"https://api.github.com/users/Paul-n4l/repos","events_url":"https://api.github.com/users/Paul-n4l/events{/privacy}","received_events_url":"https://api.github.com/users/Paul-n4l/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Paul-n4l/to-markdown","description":"An HTML to Markdown converter written in JavaScript","fork":true,"url":"https://api.github.com/repos/Paul-n4l/to-markdown","forks_url":"https://api.github.com/repos/Paul-n4l/to-markdown/forks","keys_url":"https://api.github.com/repos/Paul-n4l/to-markdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Paul-n4l/to-markdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Paul-n4l/to-markdown/teams","hooks_url":"https://api.github.com/repos/Paul-n4l/to-markdown/hooks","issue_events_url":"https://api.github.com/repos/Paul-n4l/to-markdown/issues/events{/number}","events_url":"https://api.github.com/repos/Paul-n4l/to-markdown/events","assignees_url":"https://api.github.com/repos/Paul-n4l/to-markdown/assignees{/user}","branches_url":"https://api.github.com/repos/Paul-n4l/to-markdown/branches{/branch}","tags_url":"https://api.github.com/repos/Paul-n4l/to-markdown/tags","blobs_url":"https://api.github.com/repos/Paul-n4l/to-markdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Paul-n4l/to-markdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Paul-n4l/to-markdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/Paul-n4l/to-markdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Paul-n4l/to-markdown/statuses/{sha}","languages_url":"https://api.github.com/repos/Paul-n4l/to-markdown/languages","stargazers_url":"https://api.github.com/repos/Paul-n4l/to-markdown/stargazers","contributors_url":"https://api.github.com/repos/Paul-n4l/to-markdown/contributors","subscribers_url":"https://api.github.com/repos/Paul-n4l/to-markdown/subscribers","subscription_url":"https://api.github.com/repos/Paul-n4l/to-markdown/subscription","commits_url":"https://api.github.com/repos/Paul-n4l/to-markdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/Paul-n4l/to-markdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/Paul-n4l/to-markdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/Paul-n4l/to-markdown/issues/comments{/number}","contents_url":"https://api.github.com/repos/Paul-n4l/to-markdown/contents/{+path}","compare_url":"https://api.github.com/repos/Paul-n4l/to-markdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Paul-n4l/to-markdown/merges","archive_url":"https://api.github.com/repos/Paul-n4l/to-markdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Paul-n4l/to-markdown/downloads","issues_url":"https://api.github.com/repos/Paul-n4l/to-markdown/issues{/number}","pulls_url":"https://api.github.com/repos/Paul-n4l/to-markdown/pulls{/number}","milestones_url":"https://api.github.com/repos/Paul-n4l/to-markdown/milestones{/number}","notifications_url":"https://api.github.com/repos/Paul-n4l/to-markdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Paul-n4l/to-markdown/labels{/name}","releases_url":"https://api.github.com/repos/Paul-n4l/to-markdown/releases{/id}","deployments_url":"https://api.github.com/repos/Paul-n4l/to-markdown/deployments","created_at":"2016-05-30T01:29:16Z","updated_at":"2016-05-30T01:29:17Z","pushed_at":"2016-05-30T02:25:23Z","git_url":"git://github.com/Paul-n4l/to-markdown.git","ssh_url":"git@github.com:Paul-n4l/to-markdown.git","clone_url":"https://github.com/Paul-n4l/to-markdown.git","svn_url":"https://github.com/Paul-n4l/to-markdown","homepage":"http://domchristie.github.io/to-markdown","size":1029,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"master"}},"base":{"label":"domchristie:master","ref":"master","sha":"1fde68fd7cde63676bda85f8580b6be52a0b0a20","user":{"login":"domchristie","id":111734,"avatar_url":"https://avatars.githubusercontent.com/u/111734?v=3","gravatar_id":"","url":"https://api.github.com/users/domchristie","html_url":"https://github.com/domchristie","followers_url":"https://api.github.com/users/domchristie/followers","following_url":"https://api.github.com/users/domchristie/following{/other_user}","gists_url":"https://api.github.com/users/domchristie/gists{/gist_id}","starred_url":"https://api.github.com/users/domchristie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domchristie/subscriptions","organizations_url":"https://api.github.com/users/domchristie/orgs","repos_url":"https://api.github.com/users/domchristie/repos","events_url":"https://api.github.com/users/domchristie/events{/privacy}","received_events_url":"https://api.github.com/users/domchristie/received_events","type":"User","site_admin":false},"repo":{"id":2630230,"name":"to-markdown","full_name":"domchristie/to-markdown","owner":{"login":"domchristie","id":111734,"avatar_url":"https://avatars.githubusercontent.com/u/111734?v=3","gravatar_id":"","url":"https://api.github.com/users/domchristie","html_url":"https://github.com/domchristie","followers_url":"https://api.github.com/users/domchristie/followers","following_url":"https://api.github.com/users/domchristie/following{/other_user}","gists_url":"https://api.github.com/users/domchristie/gists{/gist_id}","starred_url":"https://api.github.com/users/domchristie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domchristie/subscriptions","organizations_url":"https://api.github.com/users/domchristie/orgs","repos_url":"https://api.github.com/users/domchristie/repos","events_url":"https://api.github.com/users/domchristie/events{/privacy}","received_events_url":"https://api.github.com/users/domchristie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/domchristie/to-markdown","description":"An HTML to Markdown converter written in JavaScript","fork":false,"url":"https://api.github.com/repos/domchristie/to-markdown","forks_url":"https://api.github.com/repos/domchristie/to-markdown/forks","keys_url":"https://api.github.com/repos/domchristie/to-markdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/domchristie/to-markdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/domchristie/to-markdown/teams","hooks_url":"https://api.github.com/repos/domchristie/to-markdown/hooks","issue_events_url":"https://api.github.com/repos/domchristie/to-markdown/issues/events{/number}","events_url":"https://api.github.com/repos/domchristie/to-markdown/events","assignees_url":"https://api.github.com/repos/domchristie/to-markdown/assignees{/user}","branches_url":"https://api.github.com/repos/domchristie/to-markdown/branches{/branch}","tags_url":"https://api.github.com/repos/domchristie/to-markdown/tags","blobs_url":"https://api.github.com/repos/domchristie/to-markdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/domchristie/to-markdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/domchristie/to-markdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/domchristie/to-markdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/domchristie/to-markdown/statuses/{sha}","languages_url":"https://api.github.com/repos/domchristie/to-markdown/languages","stargazers_url":"https://api.github.com/repos/domchristie/to-markdown/stargazers","contributors_url":"https://api.github.com/repos/domchristie/to-markdown/contributors","subscribers_url":"https://api.github.com/repos/domchristie/to-markdown/subscribers","subscription_url":"https://api.github.com/repos/domchristie/to-markdown/subscription","commits_url":"https://api.github.com/repos/domchristie/to-markdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/domchristie/to-markdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/domchristie/to-markdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/domchristie/to-markdown/issues/comments{/number}","contents_url":"https://api.github.com/repos/domchristie/to-markdown/contents/{+path}","compare_url":"https://api.github.com/repos/domchristie/to-markdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/domchristie/to-markdown/merges","archive_url":"https://api.github.com/repos/domchristie/to-markdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/domchristie/to-markdown/downloads","issues_url":"https://api.github.com/repos/domchristie/to-markdown/issues{/number}","pulls_url":"https://api.github.com/repos/domchristie/to-markdown/pulls{/number}","milestones_url":"https://api.github.com/repos/domchristie/to-markdown/milestones{/number}","notifications_url":"https://api.github.com/repos/domchristie/to-markdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/domchristie/to-markdown/labels{/name}","releases_url":"https://api.github.com/repos/domchristie/to-markdown/releases{/id}","deployments_url":"https://api.github.com/repos/domchristie/to-markdown/deployments","created_at":"2011-10-23T10:35:39Z","updated_at":"2016-09-29T11:11:44Z","pushed_at":"2016-09-29T18:29:38Z","git_url":"git://github.com/domchristie/to-markdown.git","ssh_url":"git@github.com:domchristie/to-markdown.git","clone_url":"https://github.com/domchristie/to-markdown.git","svn_url":"https://github.com/domchristie/to-markdown","homepage":"http://domchristie.github.io/to-markdown","size":1416,"stargazers_count":1926,"watchers_count":1926,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":328,"mirror_url":null,"open_issues_count":27,"forks":328,"open_issues":27,"watchers":1926,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/domchristie/to-markdown/pulls/148"},"html":{"href":"https://github.com/domchristie/to-markdown/pull/148"},"issue":{"href":"https://api.github.com/repos/domchristie/to-markdown/issues/148"},"comments":{"href":"https://api.github.com/repos/domchristie/to-markdown/issues/148/comments"},"review_comments":{"href":"https://api.github.com/repos/domchristie/to-markdown/pulls/148/comments"},"review_comment":{"href":"https://api.github.com/repos/domchristie/to-markdown/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/domchristie/to-markdown/pulls/148/commits"},"statuses":{"href":"https://api.github.com/repos/domchristie/to-markdown/statuses/87bc0bcf5f796c62aafdcf535966de43fa07c05b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"domchristie","id":111734,"avatar_url":"https://avatars.githubusercontent.com/u/111734?v=3","gravatar_id":"","url":"https://api.github.com/users/domchristie","html_url":"https://github.com/domchristie","followers_url":"https://api.github.com/users/domchristie/followers","following_url":"https://api.github.com/users/domchristie/following{/other_user}","gists_url":"https://api.github.com/users/domchristie/gists{/gist_id}","starred_url":"https://api.github.com/users/domchristie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domchristie/subscriptions","organizations_url":"https://api.github.com/users/domchristie/orgs","repos_url":"https://api.github.com/users/domchristie/repos","events_url":"https://api.github.com/users/domchristie/events{/privacy}","received_events_url":"https://api.github.com/users/domchristie/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":8,"changed_files":3}}
{"actor":{"display_login":"domchristie"}}