{"action":"created","comment":{"url":"https://api.github.com/repos/GitbookIO/kramed/pulls/comments/38810894","id":38810894,"diff_hunk":"@@ -104,7 +104,47 @@ InlineLexer.prototype.output = function(src) {\n       continue;\n     }\n \n+    // html\n+    ///*\n+    if (cap = this.rules.html.exec(src)) {\n+      // Found a paragraph\n+      if(cap[1] === 'p' && cap[2]) {\n+        // Opening tag\n+        out += cap[0].substring(0, cap[0].indexOf(cap[2]));\n+        // In between the tag\n+        out += this.output(cap[2]);\n+        // Outer tag\n+        out += cap[0].substring(cap[0].indexOf(cap[2])+cap[2].length);\n+        // Advance parser\n+        src = src.substring(cap[0].length);\n+        continue;\n+      }\n+\n+      // Found a link\n+      if(cap[1] === 'a' && cap[2] && !this.inLink) {\n+        console.log('Parsing =', cap[2], 'to', this.output(cap[2]));","path":"lib/lex/inline.js","position":22,"original_position":22,"commit_id":"5a275d0db4ef4a8f3368ea2490daa8af59c38d2b","original_commit_id":"5a275d0db4ef4a8f3368ea2490daa8af59c38d2b","user":{"login":"SamyPesse","id":845425,"avatar_url":"https://avatars.githubusercontent.com/u/845425?v=3","gravatar_id":"","url":"https://api.github.com/users/SamyPesse","html_url":"https://github.com/SamyPesse","followers_url":"https://api.github.com/users/SamyPesse/followers","following_url":"https://api.github.com/users/SamyPesse/following{/other_user}","gists_url":"https://api.github.com/users/SamyPesse/gists{/gist_id}","starred_url":"https://api.github.com/users/SamyPesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamyPesse/subscriptions","organizations_url":"https://api.github.com/users/SamyPesse/orgs","repos_url":"https://api.github.com/users/SamyPesse/repos","events_url":"https://api.github.com/users/SamyPesse/events{/privacy}","received_events_url":"https://api.github.com/users/SamyPesse/received_events","type":"User","site_admin":false},"body":"You should remove this line","created_at":"2015-09-05T13:55:20Z","updated_at":"2015-09-05T13:55:20Z","html_url":"https://github.com/GitbookIO/kramed/pull/24#discussion_r38810894","pull_request_url":"https://api.github.com/repos/GitbookIO/kramed/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/GitbookIO/kramed/pulls/comments/38810894"},"html":{"href":"https://github.com/GitbookIO/kramed/pull/24#discussion_r38810894"},"pull_request":{"href":"https://api.github.com/repos/GitbookIO/kramed/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/GitbookIO/kramed/pulls/24","id":44282383,"html_url":"https://github.com/GitbookIO/kramed/pull/24","diff_url":"https://github.com/GitbookIO/kramed/pull/24.diff","patch_url":"https://github.com/GitbookIO/kramed/pull/24.patch","issue_url":"https://api.github.com/repos/GitbookIO/kramed/issues/24","number":24,"state":"open","locked":false,"title":"Fix/html escaping","user":{"login":"AaronO","id":949223,"avatar_url":"https://avatars.githubusercontent.com/u/949223?v=3","gravatar_id":"","url":"https://api.github.com/users/AaronO","html_url":"https://github.com/AaronO","followers_url":"https://api.github.com/users/AaronO/followers","following_url":"https://api.github.com/users/AaronO/following{/other_user}","gists_url":"https://api.github.com/users/AaronO/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronO/subscriptions","organizations_url":"https://api.github.com/users/AaronO/orgs","repos_url":"https://api.github.com/users/AaronO/repos","events_url":"https://api.github.com/users/AaronO/events{/privacy}","received_events_url":"https://api.github.com/users/AaronO/received_events","type":"User","site_admin":false},"body":"@SamyPesse Test if this correctly fixes #23 for you.","created_at":"2015-09-05T12:49:27Z","updated_at":"2015-09-05T13:55:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab62f44f26b6c2404ee5785160425d68793965a2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GitbookIO/kramed/pulls/24/commits","review_comments_url":"https://api.github.com/repos/GitbookIO/kramed/pulls/24/comments","review_comment_url":"https://api.github.com/repos/GitbookIO/kramed/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GitbookIO/kramed/issues/24/comments","statuses_url":"https://api.github.com/repos/GitbookIO/kramed/statuses/5a275d0db4ef4a8f3368ea2490daa8af59c38d2b","head":{"label":"GitbookIO:fix/html-escaping","ref":"fix/html-escaping","sha":"5a275d0db4ef4a8f3368ea2490daa8af59c38d2b","user":{"login":"GitbookIO","id":7111340,"avatar_url":"https://avatars.githubusercontent.com/u/7111340?v=3","gravatar_id":"","url":"https://api.github.com/users/GitbookIO","html_url":"https://github.com/GitbookIO","followers_url":"https://api.github.com/users/GitbookIO/followers","following_url":"https://api.github.com/users/GitbookIO/following{/other_user}","gists_url":"https://api.github.com/users/GitbookIO/gists{/gist_id}","starred_url":"https://api.github.com/users/GitbookIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitbookIO/subscriptions","organizations_url":"https://api.github.com/users/GitbookIO/orgs","repos_url":"https://api.github.com/users/GitbookIO/repos","events_url":"https://api.github.com/users/GitbookIO/events{/privacy}","received_events_url":"https://api.github.com/users/GitbookIO/received_events","type":"Organization","site_admin":false},"repo":{"id":22446549,"name":"kramed","full_name":"GitbookIO/kramed","owner":{"login":"GitbookIO","id":7111340,"avatar_url":"https://avatars.githubusercontent.com/u/7111340?v=3","gravatar_id":"","url":"https://api.github.com/users/GitbookIO","html_url":"https://github.com/GitbookIO","followers_url":"https://api.github.com/users/GitbookIO/followers","following_url":"https://api.github.com/users/GitbookIO/following{/other_user}","gists_url":"https://api.github.com/users/GitbookIO/gists{/gist_id}","starred_url":"https://api.github.com/users/GitbookIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitbookIO/subscriptions","organizations_url":"https://api.github.com/users/GitbookIO/orgs","repos_url":"https://api.github.com/users/GitbookIO/repos","events_url":"https://api.github.com/users/GitbookIO/events{/privacy}","received_events_url":"https://api.github.com/users/GitbookIO/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GitbookIO/kramed","description":"A markdown (kramdown compatible) parser and compiler. Built for speed. (Fork of marked)","fork":false,"url":"https://api.github.com/repos/GitbookIO/kramed","forks_url":"https://api.github.com/repos/GitbookIO/kramed/forks","keys_url":"https://api.github.com/repos/GitbookIO/kramed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GitbookIO/kramed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GitbookIO/kramed/teams","hooks_url":"https://api.github.com/repos/GitbookIO/kramed/hooks","issue_events_url":"https://api.github.com/repos/GitbookIO/kramed/issues/events{/number}","events_url":"https://api.github.com/repos/GitbookIO/kramed/events","assignees_url":"https://api.github.com/repos/GitbookIO/kramed/assignees{/user}","branches_url":"https://api.github.com/repos/GitbookIO/kramed/branches{/branch}","tags_url":"https://api.github.com/repos/GitbookIO/kramed/tags","blobs_url":"https://api.github.com/repos/GitbookIO/kramed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GitbookIO/kramed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GitbookIO/kramed/git/refs{/sha}","trees_url":"https://api.github.com/repos/GitbookIO/kramed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GitbookIO/kramed/statuses/{sha}","languages_url":"https://api.github.com/repos/GitbookIO/kramed/languages","stargazers_url":"https://api.github.com/repos/GitbookIO/kramed/stargazers","contributors_url":"https://api.github.com/repos/GitbookIO/kramed/contributors","subscribers_url":"https://api.github.com/repos/GitbookIO/kramed/subscribers","subscription_url":"https://api.github.com/repos/GitbookIO/kramed/subscription","commits_url":"https://api.github.com/repos/GitbookIO/kramed/commits{/sha}","git_commits_url":"https://api.github.com/repos/GitbookIO/kramed/git/commits{/sha}","comments_url":"https://api.github.com/repos/GitbookIO/kramed/comments{/number}","issue_comment_url":"https://api.github.com/repos/GitbookIO/kramed/issues/comments{/number}","contents_url":"https://api.github.com/repos/GitbookIO/kramed/contents/{+path}","compare_url":"https://api.github.com/repos/GitbookIO/kramed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GitbookIO/kramed/merges","archive_url":"https://api.github.com/repos/GitbookIO/kramed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GitbookIO/kramed/downloads","issues_url":"https://api.github.com/repos/GitbookIO/kramed/issues{/number}","pulls_url":"https://api.github.com/repos/GitbookIO/kramed/pulls{/number}","milestones_url":"https://api.github.com/repos/GitbookIO/kramed/milestones{/number}","notifications_url":"https://api.github.com/repos/GitbookIO/kramed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GitbookIO/kramed/labels{/name}","releases_url":"https://api.github.com/repos/GitbookIO/kramed/releases{/id}","created_at":"2014-07-30T22:05:55Z","updated_at":"2015-09-02T20:30:58Z","pushed_at":"2015-09-05T12:49:28Z","git_url":"git://github.com/GitbookIO/kramed.git","ssh_url":"git@github.com:GitbookIO/kramed.git","clone_url":"https://github.com/GitbookIO/kramed.git","svn_url":"https://github.com/GitbookIO/kramed","homepage":null,"size":858,"stargazers_count":99,"watchers_count":99,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":9,"forks":20,"open_issues":9,"watchers":99,"default_branch":"master"}},"base":{"label":"GitbookIO:master","ref":"master","sha":"a6cf3a4d48824d0a86252acb6cb8106c11d6040f","user":{"login":"GitbookIO","id":7111340,"avatar_url":"https://avatars.githubusercontent.com/u/7111340?v=3","gravatar_id":"","url":"https://api.github.com/users/GitbookIO","html_url":"https://github.com/GitbookIO","followers_url":"https://api.github.com/users/GitbookIO/followers","following_url":"https://api.github.com/users/GitbookIO/following{/other_user}","gists_url":"https://api.github.com/users/GitbookIO/gists{/gist_id}","starred_url":"https://api.github.com/users/GitbookIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitbookIO/subscriptions","organizations_url":"https://api.github.com/users/GitbookIO/orgs","repos_url":"https://api.github.com/users/GitbookIO/repos","events_url":"https://api.github.com/users/GitbookIO/events{/privacy}","received_events_url":"https://api.github.com/users/GitbookIO/received_events","type":"Organization","site_admin":false},"repo":{"id":22446549,"name":"kramed","full_name":"GitbookIO/kramed","owner":{"login":"GitbookIO","id":7111340,"avatar_url":"https://avatars.githubusercontent.com/u/7111340?v=3","gravatar_id":"","url":"https://api.github.com/users/GitbookIO","html_url":"https://github.com/GitbookIO","followers_url":"https://api.github.com/users/GitbookIO/followers","following_url":"https://api.github.com/users/GitbookIO/following{/other_user}","gists_url":"https://api.github.com/users/GitbookIO/gists{/gist_id}","starred_url":"https://api.github.com/users/GitbookIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitbookIO/subscriptions","organizations_url":"https://api.github.com/users/GitbookIO/orgs","repos_url":"https://api.github.com/users/GitbookIO/repos","events_url":"https://api.github.com/users/GitbookIO/events{/privacy}","received_events_url":"https://api.github.com/users/GitbookIO/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GitbookIO/kramed","description":"A markdown (kramdown compatible) parser and compiler. Built for speed. (Fork of marked)","fork":false,"url":"https://api.github.com/repos/GitbookIO/kramed","forks_url":"https://api.github.com/repos/GitbookIO/kramed/forks","keys_url":"https://api.github.com/repos/GitbookIO/kramed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GitbookIO/kramed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GitbookIO/kramed/teams","hooks_url":"https://api.github.com/repos/GitbookIO/kramed/hooks","issue_events_url":"https://api.github.com/repos/GitbookIO/kramed/issues/events{/number}","events_url":"https://api.github.com/repos/GitbookIO/kramed/events","assignees_url":"https://api.github.com/repos/GitbookIO/kramed/assignees{/user}","branches_url":"https://api.github.com/repos/GitbookIO/kramed/branches{/branch}","tags_url":"https://api.github.com/repos/GitbookIO/kramed/tags","blobs_url":"https://api.github.com/repos/GitbookIO/kramed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GitbookIO/kramed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GitbookIO/kramed/git/refs{/sha}","trees_url":"https://api.github.com/repos/GitbookIO/kramed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GitbookIO/kramed/statuses/{sha}","languages_url":"https://api.github.com/repos/GitbookIO/kramed/languages","stargazers_url":"https://api.github.com/repos/GitbookIO/kramed/stargazers","contributors_url":"https://api.github.com/repos/GitbookIO/kramed/contributors","subscribers_url":"https://api.github.com/repos/GitbookIO/kramed/subscribers","subscription_url":"https://api.github.com/repos/GitbookIO/kramed/subscription","commits_url":"https://api.github.com/repos/GitbookIO/kramed/commits{/sha}","git_commits_url":"https://api.github.com/repos/GitbookIO/kramed/git/commits{/sha}","comments_url":"https://api.github.com/repos/GitbookIO/kramed/comments{/number}","issue_comment_url":"https://api.github.com/repos/GitbookIO/kramed/issues/comments{/number}","contents_url":"https://api.github.com/repos/GitbookIO/kramed/contents/{+path}","compare_url":"https://api.github.com/repos/GitbookIO/kramed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GitbookIO/kramed/merges","archive_url":"https://api.github.com/repos/GitbookIO/kramed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GitbookIO/kramed/downloads","issues_url":"https://api.github.com/repos/GitbookIO/kramed/issues{/number}","pulls_url":"https://api.github.com/repos/GitbookIO/kramed/pulls{/number}","milestones_url":"https://api.github.com/repos/GitbookIO/kramed/milestones{/number}","notifications_url":"https://api.github.com/repos/GitbookIO/kramed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GitbookIO/kramed/labels{/name}","releases_url":"https://api.github.com/repos/GitbookIO/kramed/releases{/id}","created_at":"2014-07-30T22:05:55Z","updated_at":"2015-09-02T20:30:58Z","pushed_at":"2015-09-05T12:49:28Z","git_url":"git://github.com/GitbookIO/kramed.git","ssh_url":"git@github.com:GitbookIO/kramed.git","clone_url":"https://github.com/GitbookIO/kramed.git","svn_url":"https://github.com/GitbookIO/kramed","homepage":null,"size":858,"stargazers_count":99,"watchers_count":99,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":9,"forks":20,"open_issues":9,"watchers":99,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GitbookIO/kramed/pulls/24"},"html":{"href":"https://github.com/GitbookIO/kramed/pull/24"},"issue":{"href":"https://api.github.com/repos/GitbookIO/kramed/issues/24"},"comments":{"href":"https://api.github.com/repos/GitbookIO/kramed/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/GitbookIO/kramed/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/GitbookIO/kramed/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GitbookIO/kramed/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/GitbookIO/kramed/statuses/5a275d0db4ef4a8f3368ea2490daa8af59c38d2b"}}}}