{"action":"created","comment":{"url":"https://api.github.com/repos/Shopify/liquid/pulls/comments/33381685","id":33381685,"diff_hunk":"@@ -0,0 +1,24 @@\n+module Liquid\n+  # The spaceless tag strips whitespace between HTML tags using a simple regex.\n+  #\n+  # == Usage:\n+  #    {% spaceless %}\n+  #      <h1>\n+  #        Hello\n+  #      </h1>\n+  #    {% endspaceless %}\n+  #\n+  class Spaceless < Block\n+    HTML_STRIP_SPACE_REGEXP = />\\s+</","path":"lib/liquid/tags/spaceless.rb","position":12,"original_position":12,"commit_id":"74f9bad5133b148ecb707d2fbdd318d458aa98df","original_commit_id":"74f9bad5133b148ecb707d2fbdd318d458aa98df","user":{"login":"pushrax","id":984857,"avatar_url":"https://avatars.githubusercontent.com/u/984857?v=3","gravatar_id":"","url":"https://api.github.com/users/pushrax","html_url":"https://github.com/pushrax","followers_url":"https://api.github.com/users/pushrax/followers","following_url":"https://api.github.com/users/pushrax/following{/other_user}","gists_url":"https://api.github.com/users/pushrax/gists{/gist_id}","starred_url":"https://api.github.com/users/pushrax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushrax/subscriptions","organizations_url":"https://api.github.com/users/pushrax/orgs","repos_url":"https://api.github.com/users/pushrax/repos","events_url":"https://api.github.com/users/pushrax/events{/privacy}","received_events_url":"https://api.github.com/users/pushrax/received_events","type":"User","site_admin":false},"body":"Is there something else where this would be useful?","created_at":"2015-06-26T18:23:07Z","updated_at":"2015-06-26T18:23:07Z","html_url":"https://github.com/Shopify/liquid/pull/607#discussion_r33381685","pull_request_url":"https://api.github.com/repos/Shopify/liquid/pulls/607","_links":{"self":{"href":"https://api.github.com/repos/Shopify/liquid/pulls/comments/33381685"},"html":{"href":"https://github.com/Shopify/liquid/pull/607#discussion_r33381685"},"pull_request":{"href":"https://api.github.com/repos/Shopify/liquid/pulls/607"}}},"pull_request":{"url":"https://api.github.com/repos/Shopify/liquid/pulls/607","id":38668915,"html_url":"https://github.com/Shopify/liquid/pull/607","diff_url":"https://github.com/Shopify/liquid/pull/607.diff","patch_url":"https://github.com/Shopify/liquid/pull/607.patch","issue_url":"https://api.github.com/repos/Shopify/liquid/issues/607","number":607,"state":"open","locked":false,"title":"Add very simple spaceless tag","user":{"login":"pushrax","id":984857,"avatar_url":"https://avatars.githubusercontent.com/u/984857?v=3","gravatar_id":"","url":"https://api.github.com/users/pushrax","html_url":"https://github.com/pushrax","followers_url":"https://api.github.com/users/pushrax/followers","following_url":"https://api.github.com/users/pushrax/following{/other_user}","gists_url":"https://api.github.com/users/pushrax/gists{/gist_id}","starred_url":"https://api.github.com/users/pushrax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushrax/subscriptions","organizations_url":"https://api.github.com/users/pushrax/orgs","repos_url":"https://api.github.com/users/pushrax/repos","events_url":"https://api.github.com/users/pushrax/events{/privacy}","received_events_url":"https://api.github.com/users/pushrax/received_events","type":"User","site_admin":false},"body":"Based on Django's equivalent tag. https://docs.djangoproject.com/en/1.8/ref/templates/builtins/#spaceless\r\n\r\nHelps address #216","created_at":"2015-06-26T17:01:42Z","updated_at":"2015-06-26T18:23:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50bdf48213140bb742f3047003c7200fc01457f9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shopify/liquid/pulls/607/commits","review_comments_url":"https://api.github.com/repos/Shopify/liquid/pulls/607/comments","review_comment_url":"https://api.github.com/repos/Shopify/liquid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Shopify/liquid/issues/607/comments","statuses_url":"https://api.github.com/repos/Shopify/liquid/statuses/74f9bad5133b148ecb707d2fbdd318d458aa98df","head":{"label":"Shopify:spaceless-tag","ref":"spaceless-tag","sha":"74f9bad5133b148ecb707d2fbdd318d458aa98df","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":15435,"name":"liquid","full_name":"Shopify/liquid","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/liquid","description":"Liquid markup language. Safe, customer facing template language for flexible web apps. ","fork":false,"url":"https://api.github.com/repos/Shopify/liquid","forks_url":"https://api.github.com/repos/Shopify/liquid/forks","keys_url":"https://api.github.com/repos/Shopify/liquid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/liquid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/liquid/teams","hooks_url":"https://api.github.com/repos/Shopify/liquid/hooks","issue_events_url":"https://api.github.com/repos/Shopify/liquid/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/liquid/events","assignees_url":"https://api.github.com/repos/Shopify/liquid/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/liquid/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/liquid/tags","blobs_url":"https://api.github.com/repos/Shopify/liquid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/liquid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/liquid/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/liquid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/liquid/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/liquid/languages","stargazers_url":"https://api.github.com/repos/Shopify/liquid/stargazers","contributors_url":"https://api.github.com/repos/Shopify/liquid/contributors","subscribers_url":"https://api.github.com/repos/Shopify/liquid/subscribers","subscription_url":"https://api.github.com/repos/Shopify/liquid/subscription","commits_url":"https://api.github.com/repos/Shopify/liquid/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/liquid/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/liquid/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/liquid/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/liquid/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/liquid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/liquid/merges","archive_url":"https://api.github.com/repos/Shopify/liquid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/liquid/downloads","issues_url":"https://api.github.com/repos/Shopify/liquid/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/liquid/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/liquid/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/liquid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/liquid/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/liquid/releases{/id}","created_at":"2008-05-08T15:27:26Z","updated_at":"2015-06-26T16:40:20Z","pushed_at":"2015-06-26T17:01:42Z","git_url":"git://github.com/Shopify/liquid.git","ssh_url":"git@github.com:Shopify/liquid.git","clone_url":"https://github.com/Shopify/liquid.git","svn_url":"https://github.com/Shopify/liquid","homepage":"http://liquidmarkup.org/","size":8006,"stargazers_count":3424,"watchers_count":3424,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":458,"mirror_url":null,"open_issues_count":29,"forks":458,"open_issues":29,"watchers":3424,"default_branch":"master"}},"base":{"label":"Shopify:master","ref":"master","sha":"8a8de46c6a8912f61e139f99bf6da9bf143c3b37","user":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"repo":{"id":15435,"name":"liquid","full_name":"Shopify/liquid","owner":{"login":"Shopify","id":8085,"avatar_url":"https://avatars.githubusercontent.com/u/8085?v=3","gravatar_id":"","url":"https://api.github.com/users/Shopify","html_url":"https://github.com/Shopify","followers_url":"https://api.github.com/users/Shopify/followers","following_url":"https://api.github.com/users/Shopify/following{/other_user}","gists_url":"https://api.github.com/users/Shopify/gists{/gist_id}","starred_url":"https://api.github.com/users/Shopify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shopify/subscriptions","organizations_url":"https://api.github.com/users/Shopify/orgs","repos_url":"https://api.github.com/users/Shopify/repos","events_url":"https://api.github.com/users/Shopify/events{/privacy}","received_events_url":"https://api.github.com/users/Shopify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Shopify/liquid","description":"Liquid markup language. Safe, customer facing template language for flexible web apps. ","fork":false,"url":"https://api.github.com/repos/Shopify/liquid","forks_url":"https://api.github.com/repos/Shopify/liquid/forks","keys_url":"https://api.github.com/repos/Shopify/liquid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shopify/liquid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shopify/liquid/teams","hooks_url":"https://api.github.com/repos/Shopify/liquid/hooks","issue_events_url":"https://api.github.com/repos/Shopify/liquid/issues/events{/number}","events_url":"https://api.github.com/repos/Shopify/liquid/events","assignees_url":"https://api.github.com/repos/Shopify/liquid/assignees{/user}","branches_url":"https://api.github.com/repos/Shopify/liquid/branches{/branch}","tags_url":"https://api.github.com/repos/Shopify/liquid/tags","blobs_url":"https://api.github.com/repos/Shopify/liquid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shopify/liquid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shopify/liquid/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shopify/liquid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shopify/liquid/statuses/{sha}","languages_url":"https://api.github.com/repos/Shopify/liquid/languages","stargazers_url":"https://api.github.com/repos/Shopify/liquid/stargazers","contributors_url":"https://api.github.com/repos/Shopify/liquid/contributors","subscribers_url":"https://api.github.com/repos/Shopify/liquid/subscribers","subscription_url":"https://api.github.com/repos/Shopify/liquid/subscription","commits_url":"https://api.github.com/repos/Shopify/liquid/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shopify/liquid/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shopify/liquid/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shopify/liquid/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shopify/liquid/contents/{+path}","compare_url":"https://api.github.com/repos/Shopify/liquid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shopify/liquid/merges","archive_url":"https://api.github.com/repos/Shopify/liquid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shopify/liquid/downloads","issues_url":"https://api.github.com/repos/Shopify/liquid/issues{/number}","pulls_url":"https://api.github.com/repos/Shopify/liquid/pulls{/number}","milestones_url":"https://api.github.com/repos/Shopify/liquid/milestones{/number}","notifications_url":"https://api.github.com/repos/Shopify/liquid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shopify/liquid/labels{/name}","releases_url":"https://api.github.com/repos/Shopify/liquid/releases{/id}","created_at":"2008-05-08T15:27:26Z","updated_at":"2015-06-26T16:40:20Z","pushed_at":"2015-06-26T17:01:42Z","git_url":"git://github.com/Shopify/liquid.git","ssh_url":"git@github.com:Shopify/liquid.git","clone_url":"https://github.com/Shopify/liquid.git","svn_url":"https://github.com/Shopify/liquid","homepage":"http://liquidmarkup.org/","size":8006,"stargazers_count":3424,"watchers_count":3424,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":458,"mirror_url":null,"open_issues_count":29,"forks":458,"open_issues":29,"watchers":3424,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shopify/liquid/pulls/607"},"html":{"href":"https://github.com/Shopify/liquid/pull/607"},"issue":{"href":"https://api.github.com/repos/Shopify/liquid/issues/607"},"comments":{"href":"https://api.github.com/repos/Shopify/liquid/issues/607/comments"},"review_comments":{"href":"https://api.github.com/repos/Shopify/liquid/pulls/607/comments"},"review_comment":{"href":"https://api.github.com/repos/Shopify/liquid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Shopify/liquid/pulls/607/commits"},"statuses":{"href":"https://api.github.com/repos/Shopify/liquid/statuses/74f9bad5133b148ecb707d2fbdd318d458aa98df"}}}}