{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/dsoares/roundcubemail/pulls/1","id":39572507,"html_url":"https://github.com/dsoares/roundcubemail/pull/1","diff_url":"https://github.com/dsoares/roundcubemail/pull/1.diff","patch_url":"https://github.com/dsoares/roundcubemail/pull/1.patch","issue_url":"https://api.github.com/repos/dsoares/roundcubemail/issues/1","number":1,"state":"open","locked":false,"title":"Fix regexp in wash_style to accept style declarations with new lines.","user":{"login":"dsoares","id":673736,"avatar_url":"https://avatars.githubusercontent.com/u/673736?v=3","gravatar_id":"","url":"https://api.github.com/users/dsoares","html_url":"https://github.com/dsoares","followers_url":"https://api.github.com/users/dsoares/followers","following_url":"https://api.github.com/users/dsoares/following{/other_user}","gists_url":"https://api.github.com/users/dsoares/gists{/gist_id}","starred_url":"https://api.github.com/users/dsoares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsoares/subscriptions","organizations_url":"https://api.github.com/users/dsoares/orgs","repos_url":"https://api.github.com/users/dsoares/repos","events_url":"https://api.github.com/users/dsoares/events{/privacy}","received_events_url":"https://api.github.com/users/dsoares/received_events","type":"User","site_admin":false},"body":"Some(?) email clients wrap long lines in HTML messages. With some *bad luck*, the wrapping occurs in the middle of a style declaration. This is an example of a style declaration after wrapping:\r\n```html\r\n   (...)<div style=\"padding: 0px\r\n           20px;border:1px solid #000;\">(...)\r\n```\r\nWith the `s` modifier in `preg_match()`, the dot `.` in the regular expression accepts the `\\n` and the style declaration remains correct.","created_at":"2015-07-09T11:21:15Z","updated_at":"2015-07-09T11:21:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dsoares/roundcubemail/pulls/1/commits","review_comments_url":"https://api.github.com/repos/dsoares/roundcubemail/pulls/1/comments","review_comment_url":"https://api.github.com/repos/dsoares/roundcubemail/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dsoares/roundcubemail/issues/1/comments","statuses_url":"https://api.github.com/repos/dsoares/roundcubemail/statuses/15c5ac33a9838451af704973893658b881b6fd41","head":{"label":"dsoares:dsoares-fix-wash_style","ref":"dsoares-fix-wash_style","sha":"15c5ac33a9838451af704973893658b881b6fd41","user":{"login":"dsoares","id":673736,"avatar_url":"https://avatars.githubusercontent.com/u/673736?v=3","gravatar_id":"","url":"https://api.github.com/users/dsoares","html_url":"https://github.com/dsoares","followers_url":"https://api.github.com/users/dsoares/followers","following_url":"https://api.github.com/users/dsoares/following{/other_user}","gists_url":"https://api.github.com/users/dsoares/gists{/gist_id}","starred_url":"https://api.github.com/users/dsoares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsoares/subscriptions","organizations_url":"https://api.github.com/users/dsoares/orgs","repos_url":"https://api.github.com/users/dsoares/repos","events_url":"https://api.github.com/users/dsoares/events{/privacy}","received_events_url":"https://api.github.com/users/dsoares/received_events","type":"User","site_admin":false},"repo":{"id":38815394,"name":"roundcubemail","full_name":"dsoares/roundcubemail","owner":{"login":"dsoares","id":673736,"avatar_url":"https://avatars.githubusercontent.com/u/673736?v=3","gravatar_id":"","url":"https://api.github.com/users/dsoares","html_url":"https://github.com/dsoares","followers_url":"https://api.github.com/users/dsoares/followers","following_url":"https://api.github.com/users/dsoares/following{/other_user}","gists_url":"https://api.github.com/users/dsoares/gists{/gist_id}","starred_url":"https://api.github.com/users/dsoares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsoares/subscriptions","organizations_url":"https://api.github.com/users/dsoares/orgs","repos_url":"https://api.github.com/users/dsoares/repos","events_url":"https://api.github.com/users/dsoares/events{/privacy}","received_events_url":"https://api.github.com/users/dsoares/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dsoares/roundcubemail","description":"The Roundcube Webmail suite","fork":true,"url":"https://api.github.com/repos/dsoares/roundcubemail","forks_url":"https://api.github.com/repos/dsoares/roundcubemail/forks","keys_url":"https://api.github.com/repos/dsoares/roundcubemail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dsoares/roundcubemail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dsoares/roundcubemail/teams","hooks_url":"https://api.github.com/repos/dsoares/roundcubemail/hooks","issue_events_url":"https://api.github.com/repos/dsoares/roundcubemail/issues/events{/number}","events_url":"https://api.github.com/repos/dsoares/roundcubemail/events","assignees_url":"https://api.github.com/repos/dsoares/roundcubemail/assignees{/user}","branches_url":"https://api.github.com/repos/dsoares/roundcubemail/branches{/branch}","tags_url":"https://api.github.com/repos/dsoares/roundcubemail/tags","blobs_url":"https://api.github.com/repos/dsoares/roundcubemail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dsoares/roundcubemail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dsoares/roundcubemail/git/refs{/sha}","trees_url":"https://api.github.com/repos/dsoares/roundcubemail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dsoares/roundcubemail/statuses/{sha}","languages_url":"https://api.github.com/repos/dsoares/roundcubemail/languages","stargazers_url":"https://api.github.com/repos/dsoares/roundcubemail/stargazers","contributors_url":"https://api.github.com/repos/dsoares/roundcubemail/contributors","subscribers_url":"https://api.github.com/repos/dsoares/roundcubemail/subscribers","subscription_url":"https://api.github.com/repos/dsoares/roundcubemail/subscription","commits_url":"https://api.github.com/repos/dsoares/roundcubemail/commits{/sha}","git_commits_url":"https://api.github.com/repos/dsoares/roundcubemail/git/commits{/sha}","comments_url":"https://api.github.com/repos/dsoares/roundcubemail/comments{/number}","issue_comment_url":"https://api.github.com/repos/dsoares/roundcubemail/issues/comments{/number}","contents_url":"https://api.github.com/repos/dsoares/roundcubemail/contents/{+path}","compare_url":"https://api.github.com/repos/dsoares/roundcubemail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dsoares/roundcubemail/merges","archive_url":"https://api.github.com/repos/dsoares/roundcubemail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dsoares/roundcubemail/downloads","issues_url":"https://api.github.com/repos/dsoares/roundcubemail/issues{/number}","pulls_url":"https://api.github.com/repos/dsoares/roundcubemail/pulls{/number}","milestones_url":"https://api.github.com/repos/dsoares/roundcubemail/milestones{/number}","notifications_url":"https://api.github.com/repos/dsoares/roundcubemail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dsoares/roundcubemail/labels{/name}","releases_url":"https://api.github.com/repos/dsoares/roundcubemail/releases{/id}","created_at":"2015-07-09T11:02:50Z","updated_at":"2015-07-09T11:02:57Z","pushed_at":"2015-07-09T11:17:11Z","git_url":"git://github.com/dsoares/roundcubemail.git","ssh_url":"git@github.com:dsoares/roundcubemail.git","clone_url":"https://github.com/dsoares/roundcubemail.git","svn_url":"https://github.com/dsoares/roundcubemail","homepage":"http://roundcube.net","size":62232,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"dsoares:master","ref":"master","sha":"b196d0a9a2d6bdd56496ad98861e40b20e01a56b","user":{"login":"dsoares","id":673736,"avatar_url":"https://avatars.githubusercontent.com/u/673736?v=3","gravatar_id":"","url":"https://api.github.com/users/dsoares","html_url":"https://github.com/dsoares","followers_url":"https://api.github.com/users/dsoares/followers","following_url":"https://api.github.com/users/dsoares/following{/other_user}","gists_url":"https://api.github.com/users/dsoares/gists{/gist_id}","starred_url":"https://api.github.com/users/dsoares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsoares/subscriptions","organizations_url":"https://api.github.com/users/dsoares/orgs","repos_url":"https://api.github.com/users/dsoares/repos","events_url":"https://api.github.com/users/dsoares/events{/privacy}","received_events_url":"https://api.github.com/users/dsoares/received_events","type":"User","site_admin":false},"repo":{"id":38815394,"name":"roundcubemail","full_name":"dsoares/roundcubemail","owner":{"login":"dsoares","id":673736,"avatar_url":"https://avatars.githubusercontent.com/u/673736?v=3","gravatar_id":"","url":"https://api.github.com/users/dsoares","html_url":"https://github.com/dsoares","followers_url":"https://api.github.com/users/dsoares/followers","following_url":"https://api.github.com/users/dsoares/following{/other_user}","gists_url":"https://api.github.com/users/dsoares/gists{/gist_id}","starred_url":"https://api.github.com/users/dsoares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsoares/subscriptions","organizations_url":"https://api.github.com/users/dsoares/orgs","repos_url":"https://api.github.com/users/dsoares/repos","events_url":"https://api.github.com/users/dsoares/events{/privacy}","received_events_url":"https://api.github.com/users/dsoares/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dsoares/roundcubemail","description":"The Roundcube Webmail suite","fork":true,"url":"https://api.github.com/repos/dsoares/roundcubemail","forks_url":"https://api.github.com/repos/dsoares/roundcubemail/forks","keys_url":"https://api.github.com/repos/dsoares/roundcubemail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dsoares/roundcubemail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dsoares/roundcubemail/teams","hooks_url":"https://api.github.com/repos/dsoares/roundcubemail/hooks","issue_events_url":"https://api.github.com/repos/dsoares/roundcubemail/issues/events{/number}","events_url":"https://api.github.com/repos/dsoares/roundcubemail/events","assignees_url":"https://api.github.com/repos/dsoares/roundcubemail/assignees{/user}","branches_url":"https://api.github.com/repos/dsoares/roundcubemail/branches{/branch}","tags_url":"https://api.github.com/repos/dsoares/roundcubemail/tags","blobs_url":"https://api.github.com/repos/dsoares/roundcubemail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dsoares/roundcubemail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dsoares/roundcubemail/git/refs{/sha}","trees_url":"https://api.github.com/repos/dsoares/roundcubemail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dsoares/roundcubemail/statuses/{sha}","languages_url":"https://api.github.com/repos/dsoares/roundcubemail/languages","stargazers_url":"https://api.github.com/repos/dsoares/roundcubemail/stargazers","contributors_url":"https://api.github.com/repos/dsoares/roundcubemail/contributors","subscribers_url":"https://api.github.com/repos/dsoares/roundcubemail/subscribers","subscription_url":"https://api.github.com/repos/dsoares/roundcubemail/subscription","commits_url":"https://api.github.com/repos/dsoares/roundcubemail/commits{/sha}","git_commits_url":"https://api.github.com/repos/dsoares/roundcubemail/git/commits{/sha}","comments_url":"https://api.github.com/repos/dsoares/roundcubemail/comments{/number}","issue_comment_url":"https://api.github.com/repos/dsoares/roundcubemail/issues/comments{/number}","contents_url":"https://api.github.com/repos/dsoares/roundcubemail/contents/{+path}","compare_url":"https://api.github.com/repos/dsoares/roundcubemail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dsoares/roundcubemail/merges","archive_url":"https://api.github.com/repos/dsoares/roundcubemail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dsoares/roundcubemail/downloads","issues_url":"https://api.github.com/repos/dsoares/roundcubemail/issues{/number}","pulls_url":"https://api.github.com/repos/dsoares/roundcubemail/pulls{/number}","milestones_url":"https://api.github.com/repos/dsoares/roundcubemail/milestones{/number}","notifications_url":"https://api.github.com/repos/dsoares/roundcubemail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dsoares/roundcubemail/labels{/name}","releases_url":"https://api.github.com/repos/dsoares/roundcubemail/releases{/id}","created_at":"2015-07-09T11:02:50Z","updated_at":"2015-07-09T11:02:57Z","pushed_at":"2015-07-09T11:17:11Z","git_url":"git://github.com/dsoares/roundcubemail.git","ssh_url":"git@github.com:dsoares/roundcubemail.git","clone_url":"https://github.com/dsoares/roundcubemail.git","svn_url":"https://github.com/dsoares/roundcubemail","homepage":"http://roundcube.net","size":62232,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dsoares/roundcubemail/pulls/1"},"html":{"href":"https://github.com/dsoares/roundcubemail/pull/1"},"issue":{"href":"https://api.github.com/repos/dsoares/roundcubemail/issues/1"},"comments":{"href":"https://api.github.com/repos/dsoares/roundcubemail/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/dsoares/roundcubemail/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/dsoares/roundcubemail/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dsoares/roundcubemail/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/dsoares/roundcubemail/statuses/15c5ac33a9838451af704973893658b881b6fd41"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}