{"action":"created","comment":{"url":"https://api.github.com/repos/mittwald/typo3-web2pdf/pulls/comments/41623632","id":41623632,"diff_hunk":"@@ -148,7 +162,12 @@ protected function getPdfObject() {\n         /* @var $pdf \\mPDF */\n         $pdf = $this->objectManager->get('mPDF', '', $pageFormat . '-' . $pageOrientation);\n         $pdf->SetMargins($leftMargin, $rightMargin, $topMargin);\n-        $pdf->CSSselectMedia = $styleSheet;\n+\n+        if ($styleSheet == 'print' || $styleSheet == 'screen') {","path":"Classes/View/PdfView.php","position":29,"original_position":29,"commit_id":"2398c1090c66f45c6b4e0c765fb1aeea256e70b5","original_commit_id":"2398c1090c66f45c6b4e0c765fb1aeea256e70b5","user":{"login":"martin-helmich","id":2538958,"avatar_url":"https://avatars.githubusercontent.com/u/2538958?v=3","gravatar_id":"","url":"https://api.github.com/users/martin-helmich","html_url":"https://github.com/martin-helmich","followers_url":"https://api.github.com/users/martin-helmich/followers","following_url":"https://api.github.com/users/martin-helmich/following{/other_user}","gists_url":"https://api.github.com/users/martin-helmich/gists{/gist_id}","starred_url":"https://api.github.com/users/martin-helmich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin-helmich/subscriptions","organizations_url":"https://api.github.com/users/martin-helmich/orgs","repos_url":"https://api.github.com/users/martin-helmich/repos","events_url":"https://api.github.com/users/martin-helmich/events{/privacy}","received_events_url":"https://api.github.com/users/martin-helmich/received_events","type":"User","site_admin":false},"body":":+1: Allright.","created_at":"2015-10-09T12:16:32Z","updated_at":"2015-10-09T12:16:32Z","html_url":"https://github.com/mittwald/typo3-web2pdf/pull/29#discussion_r41623632","pull_request_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/mittwald/typo3-web2pdf/pulls/comments/41623632"},"html":{"href":"https://github.com/mittwald/typo3-web2pdf/pull/29#discussion_r41623632"},"pull_request":{"href":"https://api.github.com/repos/mittwald/typo3-web2pdf/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/mittwald/typo3-web2pdf/pulls/29","id":47174699,"html_url":"https://github.com/mittwald/typo3-web2pdf/pull/29","diff_url":"https://github.com/mittwald/typo3-web2pdf/pull/29.diff","patch_url":"https://github.com/mittwald/typo3-web2pdf/pull/29.patch","issue_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/issues/29","number":29,"state":"closed","locked":false,"title":"Feature/25 correct style sheet handling","user":{"login":"kpurrmann","id":1853906,"avatar_url":"https://avatars.githubusercontent.com/u/1853906?v=3","gravatar_id":"","url":"https://api.github.com/users/kpurrmann","html_url":"https://github.com/kpurrmann","followers_url":"https://api.github.com/users/kpurrmann/followers","following_url":"https://api.github.com/users/kpurrmann/following{/other_user}","gists_url":"https://api.github.com/users/kpurrmann/gists{/gist_id}","starred_url":"https://api.github.com/users/kpurrmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpurrmann/subscriptions","organizations_url":"https://api.github.com/users/kpurrmann/orgs","repos_url":"https://api.github.com/users/kpurrmann/repos","events_url":"https://api.github.com/users/kpurrmann/events{/privacy}","received_events_url":"https://api.github.com/users/kpurrmann/received_events","type":"User","site_admin":false},"body":"See comment on #25 ","created_at":"2015-10-08T16:22:26Z","updated_at":"2015-10-09T12:16:32Z","closed_at":"2015-10-09T12:16:13Z","merged_at":null,"merge_commit_sha":"8c1a4b903e527087527c5f42984610928eb93356","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/pulls/29/commits","review_comments_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/pulls/29/comments","review_comment_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/issues/29/comments","statuses_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/statuses/2398c1090c66f45c6b4e0c765fb1aeea256e70b5","head":{"label":"mittwald:feature/25-correct-style-sheet-handling","ref":"feature/25-correct-style-sheet-handling","sha":"2398c1090c66f45c6b4e0c765fb1aeea256e70b5","user":{"login":"mittwald","id":5549875,"avatar_url":"https://avatars.githubusercontent.com/u/5549875?v=3","gravatar_id":"","url":"https://api.github.com/users/mittwald","html_url":"https://github.com/mittwald","followers_url":"https://api.github.com/users/mittwald/followers","following_url":"https://api.github.com/users/mittwald/following{/other_user}","gists_url":"https://api.github.com/users/mittwald/gists{/gist_id}","starred_url":"https://api.github.com/users/mittwald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mittwald/subscriptions","organizations_url":"https://api.github.com/users/mittwald/orgs","repos_url":"https://api.github.com/users/mittwald/repos","events_url":"https://api.github.com/users/mittwald/events{/privacy}","received_events_url":"https://api.github.com/users/mittwald/received_events","type":"Organization","site_admin":false},"repo":{"id":37980387,"name":"typo3-web2pdf","full_name":"mittwald/typo3-web2pdf","owner":{"login":"mittwald","id":5549875,"avatar_url":"https://avatars.githubusercontent.com/u/5549875?v=3","gravatar_id":"","url":"https://api.github.com/users/mittwald","html_url":"https://github.com/mittwald","followers_url":"https://api.github.com/users/mittwald/followers","following_url":"https://api.github.com/users/mittwald/following{/other_user}","gists_url":"https://api.github.com/users/mittwald/gists{/gist_id}","starred_url":"https://api.github.com/users/mittwald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mittwald/subscriptions","organizations_url":"https://api.github.com/users/mittwald/orgs","repos_url":"https://api.github.com/users/mittwald/repos","events_url":"https://api.github.com/users/mittwald/events{/privacy}","received_events_url":"https://api.github.com/users/mittwald/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mittwald/typo3-web2pdf","description":"A TYPO3 6.2-compatible extension for rendering content as PDF","fork":false,"url":"https://api.github.com/repos/mittwald/typo3-web2pdf","forks_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/forks","keys_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/teams","hooks_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/hooks","issue_events_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/issues/events{/number}","events_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/events","assignees_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/assignees{/user}","branches_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/branches{/branch}","tags_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/tags","blobs_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/git/refs{/sha}","trees_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/statuses/{sha}","languages_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/languages","stargazers_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/stargazers","contributors_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/contributors","subscribers_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/subscribers","subscription_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/subscription","commits_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/commits{/sha}","git_commits_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/git/commits{/sha}","comments_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/comments{/number}","issue_comment_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/issues/comments{/number}","contents_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/contents/{+path}","compare_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/merges","archive_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/downloads","issues_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/issues{/number}","pulls_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/pulls{/number}","milestones_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/milestones{/number}","notifications_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/labels{/name}","releases_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/releases{/id}","created_at":"2015-06-24T11:24:50Z","updated_at":"2015-09-25T16:19:50Z","pushed_at":"2015-10-09T12:14:36Z","git_url":"git://github.com/mittwald/typo3-web2pdf.git","ssh_url":"git@github.com:mittwald/typo3-web2pdf.git","clone_url":"https://github.com/mittwald/typo3-web2pdf.git","svn_url":"https://github.com/mittwald/typo3-web2pdf","homepage":null,"size":34507,"stargazers_count":5,"watchers_count":5,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":5,"default_branch":"master"}},"base":{"label":"mittwald:master","ref":"master","sha":"b2031a23a0ce2977cf532ea349fb7255089ef810","user":{"login":"mittwald","id":5549875,"avatar_url":"https://avatars.githubusercontent.com/u/5549875?v=3","gravatar_id":"","url":"https://api.github.com/users/mittwald","html_url":"https://github.com/mittwald","followers_url":"https://api.github.com/users/mittwald/followers","following_url":"https://api.github.com/users/mittwald/following{/other_user}","gists_url":"https://api.github.com/users/mittwald/gists{/gist_id}","starred_url":"https://api.github.com/users/mittwald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mittwald/subscriptions","organizations_url":"https://api.github.com/users/mittwald/orgs","repos_url":"https://api.github.com/users/mittwald/repos","events_url":"https://api.github.com/users/mittwald/events{/privacy}","received_events_url":"https://api.github.com/users/mittwald/received_events","type":"Organization","site_admin":false},"repo":{"id":37980387,"name":"typo3-web2pdf","full_name":"mittwald/typo3-web2pdf","owner":{"login":"mittwald","id":5549875,"avatar_url":"https://avatars.githubusercontent.com/u/5549875?v=3","gravatar_id":"","url":"https://api.github.com/users/mittwald","html_url":"https://github.com/mittwald","followers_url":"https://api.github.com/users/mittwald/followers","following_url":"https://api.github.com/users/mittwald/following{/other_user}","gists_url":"https://api.github.com/users/mittwald/gists{/gist_id}","starred_url":"https://api.github.com/users/mittwald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mittwald/subscriptions","organizations_url":"https://api.github.com/users/mittwald/orgs","repos_url":"https://api.github.com/users/mittwald/repos","events_url":"https://api.github.com/users/mittwald/events{/privacy}","received_events_url":"https://api.github.com/users/mittwald/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mittwald/typo3-web2pdf","description":"A TYPO3 6.2-compatible extension for rendering content as PDF","fork":false,"url":"https://api.github.com/repos/mittwald/typo3-web2pdf","forks_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/forks","keys_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/teams","hooks_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/hooks","issue_events_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/issues/events{/number}","events_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/events","assignees_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/assignees{/user}","branches_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/branches{/branch}","tags_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/tags","blobs_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/git/refs{/sha}","trees_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/statuses/{sha}","languages_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/languages","stargazers_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/stargazers","contributors_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/contributors","subscribers_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/subscribers","subscription_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/subscription","commits_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/commits{/sha}","git_commits_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/git/commits{/sha}","comments_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/comments{/number}","issue_comment_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/issues/comments{/number}","contents_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/contents/{+path}","compare_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/merges","archive_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/downloads","issues_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/issues{/number}","pulls_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/pulls{/number}","milestones_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/milestones{/number}","notifications_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/labels{/name}","releases_url":"https://api.github.com/repos/mittwald/typo3-web2pdf/releases{/id}","created_at":"2015-06-24T11:24:50Z","updated_at":"2015-09-25T16:19:50Z","pushed_at":"2015-10-09T12:14:36Z","git_url":"git://github.com/mittwald/typo3-web2pdf.git","ssh_url":"git@github.com:mittwald/typo3-web2pdf.git","clone_url":"https://github.com/mittwald/typo3-web2pdf.git","svn_url":"https://github.com/mittwald/typo3-web2pdf","homepage":null,"size":34507,"stargazers_count":5,"watchers_count":5,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mittwald/typo3-web2pdf/pulls/29"},"html":{"href":"https://github.com/mittwald/typo3-web2pdf/pull/29"},"issue":{"href":"https://api.github.com/repos/mittwald/typo3-web2pdf/issues/29"},"comments":{"href":"https://api.github.com/repos/mittwald/typo3-web2pdf/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/mittwald/typo3-web2pdf/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/mittwald/typo3-web2pdf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mittwald/typo3-web2pdf/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/mittwald/typo3-web2pdf/statuses/2398c1090c66f45c6b4e0c765fb1aeea256e70b5"}}}}