{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/kirbysayshi/ghembedder/pulls/5","id":25288083,"html_url":"https://github.com/kirbysayshi/ghembedder/pull/5","diff_url":"https://github.com/kirbysayshi/ghembedder/pull/5.diff","patch_url":"https://github.com/kirbysayshi/ghembedder/pull/5.patch","issue_url":"https://api.github.com/repos/kirbysayshi/ghembedder/issues/5","number":5,"state":"closed","locked":false,"title":"escape html tags if lang has 'html'","user":{"login":"alexishevia","id":261408,"avatar_url":"https://avatars.githubusercontent.com/u/261408?v=3","gravatar_id":"","url":"https://api.github.com/users/alexishevia","html_url":"https://github.com/alexishevia","followers_url":"https://api.github.com/users/alexishevia/followers","following_url":"https://api.github.com/users/alexishevia/following{/other_user}","gists_url":"https://api.github.com/users/alexishevia/gists{/gist_id}","starred_url":"https://api.github.com/users/alexishevia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexishevia/subscriptions","organizations_url":"https://api.github.com/users/alexishevia/orgs","repos_url":"https://api.github.com/users/alexishevia/repos","events_url":"https://api.github.com/users/alexishevia/events{/privacy}","received_events_url":"https://api.github.com/users/alexishevia/received_events","type":"User","site_admin":false},"body":"I have some JSX files I want to embed on my blog, and I need to html encode the source. I think this is the easiest way to make it possible.\r\n\r\nPS: I tried running the grunt task, but kept getting errors, so I'm just sending the source file edit.","created_at":"2014-12-01T18:23:06Z","updated_at":"2015-01-02T22:52:56Z","closed_at":"2015-01-02T22:52:56Z","merged_at":"2015-01-02T22:52:56Z","merge_commit_sha":"84ee75d4594a2a9b0ef5399fa1b7f350f3da21a5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kirbysayshi/ghembedder/pulls/5/commits","review_comments_url":"https://api.github.com/repos/kirbysayshi/ghembedder/pulls/5/comments","review_comment_url":"https://api.github.com/repos/kirbysayshi/ghembedder/pulls/comments/{number}","comments_url":"https://api.github.com/repos/kirbysayshi/ghembedder/issues/5/comments","statuses_url":"https://api.github.com/repos/kirbysayshi/ghembedder/statuses/acc2b0fb2236873cf5e58a8e7419ac6869c4c21a","head":{"label":"alexishevia:master","ref":"master","sha":"acc2b0fb2236873cf5e58a8e7419ac6869c4c21a","user":{"login":"alexishevia","id":261408,"avatar_url":"https://avatars.githubusercontent.com/u/261408?v=3","gravatar_id":"","url":"https://api.github.com/users/alexishevia","html_url":"https://github.com/alexishevia","followers_url":"https://api.github.com/users/alexishevia/followers","following_url":"https://api.github.com/users/alexishevia/following{/other_user}","gists_url":"https://api.github.com/users/alexishevia/gists{/gist_id}","starred_url":"https://api.github.com/users/alexishevia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexishevia/subscriptions","organizations_url":"https://api.github.com/users/alexishevia/orgs","repos_url":"https://api.github.com/users/alexishevia/repos","events_url":"https://api.github.com/users/alexishevia/events{/privacy}","received_events_url":"https://api.github.com/users/alexishevia/received_events","type":"User","site_admin":false},"repo":{"id":27392205,"name":"ghembedder","full_name":"alexishevia/ghembedder","owner":{"login":"alexishevia","id":261408,"avatar_url":"https://avatars.githubusercontent.com/u/261408?v=3","gravatar_id":"","url":"https://api.github.com/users/alexishevia","html_url":"https://github.com/alexishevia","followers_url":"https://api.github.com/users/alexishevia/followers","following_url":"https://api.github.com/users/alexishevia/following{/other_user}","gists_url":"https://api.github.com/users/alexishevia/gists{/gist_id}","starred_url":"https://api.github.com/users/alexishevia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexishevia/subscriptions","organizations_url":"https://api.github.com/users/alexishevia/orgs","repos_url":"https://api.github.com/users/alexishevia/repos","events_url":"https://api.github.com/users/alexishevia/events{/privacy}","received_events_url":"https://api.github.com/users/alexishevia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexishevia/ghembedder","description":"Embed any source file (or specific lines) from any github repo in your webpage with no server-side dependencies.","fork":true,"url":"https://api.github.com/repos/alexishevia/ghembedder","forks_url":"https://api.github.com/repos/alexishevia/ghembedder/forks","keys_url":"https://api.github.com/repos/alexishevia/ghembedder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexishevia/ghembedder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexishevia/ghembedder/teams","hooks_url":"https://api.github.com/repos/alexishevia/ghembedder/hooks","issue_events_url":"https://api.github.com/repos/alexishevia/ghembedder/issues/events{/number}","events_url":"https://api.github.com/repos/alexishevia/ghembedder/events","assignees_url":"https://api.github.com/repos/alexishevia/ghembedder/assignees{/user}","branches_url":"https://api.github.com/repos/alexishevia/ghembedder/branches{/branch}","tags_url":"https://api.github.com/repos/alexishevia/ghembedder/tags","blobs_url":"https://api.github.com/repos/alexishevia/ghembedder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexishevia/ghembedder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexishevia/ghembedder/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexishevia/ghembedder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexishevia/ghembedder/statuses/{sha}","languages_url":"https://api.github.com/repos/alexishevia/ghembedder/languages","stargazers_url":"https://api.github.com/repos/alexishevia/ghembedder/stargazers","contributors_url":"https://api.github.com/repos/alexishevia/ghembedder/contributors","subscribers_url":"https://api.github.com/repos/alexishevia/ghembedder/subscribers","subscription_url":"https://api.github.com/repos/alexishevia/ghembedder/subscription","commits_url":"https://api.github.com/repos/alexishevia/ghembedder/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexishevia/ghembedder/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexishevia/ghembedder/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexishevia/ghembedder/issues/comments/{number}","contents_url":"https://api.github.com/repos/alexishevia/ghembedder/contents/{+path}","compare_url":"https://api.github.com/repos/alexishevia/ghembedder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexishevia/ghembedder/merges","archive_url":"https://api.github.com/repos/alexishevia/ghembedder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexishevia/ghembedder/downloads","issues_url":"https://api.github.com/repos/alexishevia/ghembedder/issues{/number}","pulls_url":"https://api.github.com/repos/alexishevia/ghembedder/pulls{/number}","milestones_url":"https://api.github.com/repos/alexishevia/ghembedder/milestones{/number}","notifications_url":"https://api.github.com/repos/alexishevia/ghembedder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexishevia/ghembedder/labels{/name}","releases_url":"https://api.github.com/repos/alexishevia/ghembedder/releases{/id}","created_at":"2014-12-01T18:02:08Z","updated_at":"2014-12-20T20:10:21Z","pushed_at":"2014-12-20T20:10:20Z","git_url":"git://github.com/alexishevia/ghembedder.git","ssh_url":"git@github.com:alexishevia/ghembedder.git","clone_url":"https://github.com/alexishevia/ghembedder.git","svn_url":"https://github.com/alexishevia/ghembedder","homepage":null,"size":133,"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":"kirbysayshi:master","ref":"master","sha":"443101143511d60ed530c3c9c2ca72dc745841b4","user":{"login":"kirbysayshi","id":90831,"avatar_url":"https://avatars.githubusercontent.com/u/90831?v=3","gravatar_id":"","url":"https://api.github.com/users/kirbysayshi","html_url":"https://github.com/kirbysayshi","followers_url":"https://api.github.com/users/kirbysayshi/followers","following_url":"https://api.github.com/users/kirbysayshi/following{/other_user}","gists_url":"https://api.github.com/users/kirbysayshi/gists{/gist_id}","starred_url":"https://api.github.com/users/kirbysayshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirbysayshi/subscriptions","organizations_url":"https://api.github.com/users/kirbysayshi/orgs","repos_url":"https://api.github.com/users/kirbysayshi/repos","events_url":"https://api.github.com/users/kirbysayshi/events{/privacy}","received_events_url":"https://api.github.com/users/kirbysayshi/received_events","type":"User","site_admin":false},"repo":{"id":5197878,"name":"ghembedder","full_name":"kirbysayshi/ghembedder","owner":{"login":"kirbysayshi","id":90831,"avatar_url":"https://avatars.githubusercontent.com/u/90831?v=3","gravatar_id":"","url":"https://api.github.com/users/kirbysayshi","html_url":"https://github.com/kirbysayshi","followers_url":"https://api.github.com/users/kirbysayshi/followers","following_url":"https://api.github.com/users/kirbysayshi/following{/other_user}","gists_url":"https://api.github.com/users/kirbysayshi/gists{/gist_id}","starred_url":"https://api.github.com/users/kirbysayshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirbysayshi/subscriptions","organizations_url":"https://api.github.com/users/kirbysayshi/orgs","repos_url":"https://api.github.com/users/kirbysayshi/repos","events_url":"https://api.github.com/users/kirbysayshi/events{/privacy}","received_events_url":"https://api.github.com/users/kirbysayshi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kirbysayshi/ghembedder","description":"Embed any source file (or specific lines) from any github repo in your webpage with no server-side dependencies.","fork":false,"url":"https://api.github.com/repos/kirbysayshi/ghembedder","forks_url":"https://api.github.com/repos/kirbysayshi/ghembedder/forks","keys_url":"https://api.github.com/repos/kirbysayshi/ghembedder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kirbysayshi/ghembedder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kirbysayshi/ghembedder/teams","hooks_url":"https://api.github.com/repos/kirbysayshi/ghembedder/hooks","issue_events_url":"https://api.github.com/repos/kirbysayshi/ghembedder/issues/events{/number}","events_url":"https://api.github.com/repos/kirbysayshi/ghembedder/events","assignees_url":"https://api.github.com/repos/kirbysayshi/ghembedder/assignees{/user}","branches_url":"https://api.github.com/repos/kirbysayshi/ghembedder/branches{/branch}","tags_url":"https://api.github.com/repos/kirbysayshi/ghembedder/tags","blobs_url":"https://api.github.com/repos/kirbysayshi/ghembedder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kirbysayshi/ghembedder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kirbysayshi/ghembedder/git/refs{/sha}","trees_url":"https://api.github.com/repos/kirbysayshi/ghembedder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kirbysayshi/ghembedder/statuses/{sha}","languages_url":"https://api.github.com/repos/kirbysayshi/ghembedder/languages","stargazers_url":"https://api.github.com/repos/kirbysayshi/ghembedder/stargazers","contributors_url":"https://api.github.com/repos/kirbysayshi/ghembedder/contributors","subscribers_url":"https://api.github.com/repos/kirbysayshi/ghembedder/subscribers","subscription_url":"https://api.github.com/repos/kirbysayshi/ghembedder/subscription","commits_url":"https://api.github.com/repos/kirbysayshi/ghembedder/commits{/sha}","git_commits_url":"https://api.github.com/repos/kirbysayshi/ghembedder/git/commits{/sha}","comments_url":"https://api.github.com/repos/kirbysayshi/ghembedder/comments{/number}","issue_comment_url":"https://api.github.com/repos/kirbysayshi/ghembedder/issues/comments/{number}","contents_url":"https://api.github.com/repos/kirbysayshi/ghembedder/contents/{+path}","compare_url":"https://api.github.com/repos/kirbysayshi/ghembedder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kirbysayshi/ghembedder/merges","archive_url":"https://api.github.com/repos/kirbysayshi/ghembedder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kirbysayshi/ghembedder/downloads","issues_url":"https://api.github.com/repos/kirbysayshi/ghembedder/issues{/number}","pulls_url":"https://api.github.com/repos/kirbysayshi/ghembedder/pulls{/number}","milestones_url":"https://api.github.com/repos/kirbysayshi/ghembedder/milestones{/number}","notifications_url":"https://api.github.com/repos/kirbysayshi/ghembedder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kirbysayshi/ghembedder/labels{/name}","releases_url":"https://api.github.com/repos/kirbysayshi/ghembedder/releases{/id}","created_at":"2012-07-26T22:02:57Z","updated_at":"2014-06-27T03:36:42Z","pushed_at":"2015-01-02T22:52:56Z","git_url":"git://github.com/kirbysayshi/ghembedder.git","ssh_url":"git@github.com:kirbysayshi/ghembedder.git","clone_url":"https://github.com/kirbysayshi/ghembedder.git","svn_url":"https://github.com/kirbysayshi/ghembedder","homepage":null,"size":128,"stargazers_count":11,"watchers_count":11,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kirbysayshi/ghembedder/pulls/5"},"html":{"href":"https://github.com/kirbysayshi/ghembedder/pull/5"},"issue":{"href":"https://api.github.com/repos/kirbysayshi/ghembedder/issues/5"},"comments":{"href":"https://api.github.com/repos/kirbysayshi/ghembedder/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/kirbysayshi/ghembedder/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/kirbysayshi/ghembedder/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/kirbysayshi/ghembedder/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/kirbysayshi/ghembedder/statuses/acc2b0fb2236873cf5e58a8e7419ac6869c4c21a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kirbysayshi","id":90831,"avatar_url":"https://avatars.githubusercontent.com/u/90831?v=3","gravatar_id":"","url":"https://api.github.com/users/kirbysayshi","html_url":"https://github.com/kirbysayshi","followers_url":"https://api.github.com/users/kirbysayshi/followers","following_url":"https://api.github.com/users/kirbysayshi/following{/other_user}","gists_url":"https://api.github.com/users/kirbysayshi/gists{/gist_id}","starred_url":"https://api.github.com/users/kirbysayshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirbysayshi/subscriptions","organizations_url":"https://api.github.com/users/kirbysayshi/orgs","repos_url":"https://api.github.com/users/kirbysayshi/repos","events_url":"https://api.github.com/users/kirbysayshi/events{/privacy}","received_events_url":"https://api.github.com/users/kirbysayshi/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":2,"additions":2,"deletions":4,"changed_files":1}}