{"action":"created","issue":{"url":"https://api.github.com/repos/mikehaertl/phpwkhtmltopdf/issues/251","repository_url":"https://api.github.com/repos/mikehaertl/phpwkhtmltopdf","labels_url":"https://api.github.com/repos/mikehaertl/phpwkhtmltopdf/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/mikehaertl/phpwkhtmltopdf/issues/251/comments","events_url":"https://api.github.com/repos/mikehaertl/phpwkhtmltopdf/issues/251/events","html_url":"https://github.com/mikehaertl/phpwkhtmltopdf/issues/251","id":262613007,"number":251,"title":"'header-html' doesn't appear to work as an option.","user":{"login":"bensinjin","id":3228323,"avatar_url":"https://avatars2.githubusercontent.com/u/3228323?v=4","gravatar_id":"","url":"https://api.github.com/users/bensinjin","html_url":"https://github.com/bensinjin","followers_url":"https://api.github.com/users/bensinjin/followers","following_url":"https://api.github.com/users/bensinjin/following{/other_user}","gists_url":"https://api.github.com/users/bensinjin/gists{/gist_id}","starred_url":"https://api.github.com/users/bensinjin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bensinjin/subscriptions","organizations_url":"https://api.github.com/users/bensinjin/orgs","repos_url":"https://api.github.com/users/bensinjin/repos","events_url":"https://api.github.com/users/bensinjin/events{/privacy}","received_events_url":"https://api.github.com/users/bensinjin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-10-03T22:39:36Z","updated_at":"2017-10-06T19:30:08Z","closed_at":"2017-10-06T06:00:02Z","author_association":"NONE","body":"I ran into this with my own code and then decided to test by referencing the code in one of the tests in the repo...\r\n\r\n`$pdf->addPage('<html>test</html>', array('header-html' => '<h1>Page Header</h1>', 'footer-html' => '<h1>Page Footer</h1>',));`\r\n\r\nfor example only adds a footer to the page. 'header-html' doesn't seem to work at the pdf level either (when you pass it to the pdf as apposed to the page) Is there something I'm missing?\r\n\r\nBorrowed this from https://github.com/mikehaertl/phpwkhtmltopdf/blob/3afe8c8723fec4b32726ed6311c7997985662cf8/tests/PdfTest.php"},"comment":{"url":"https://api.github.com/repos/mikehaertl/phpwkhtmltopdf/issues/comments/334848906","html_url":"https://github.com/mikehaertl/phpwkhtmltopdf/issues/251#issuecomment-334848906","issue_url":"https://api.github.com/repos/mikehaertl/phpwkhtmltopdf/issues/251","id":334848906,"user":{"login":"bensinjin","id":3228323,"avatar_url":"https://avatars2.githubusercontent.com/u/3228323?v=4","gravatar_id":"","url":"https://api.github.com/users/bensinjin","html_url":"https://github.com/bensinjin","followers_url":"https://api.github.com/users/bensinjin/followers","following_url":"https://api.github.com/users/bensinjin/following{/other_user}","gists_url":"https://api.github.com/users/bensinjin/gists{/gist_id}","starred_url":"https://api.github.com/users/bensinjin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bensinjin/subscriptions","organizations_url":"https://api.github.com/users/bensinjin/orgs","repos_url":"https://api.github.com/users/bensinjin/repos","events_url":"https://api.github.com/users/bensinjin/events{/privacy}","received_events_url":"https://api.github.com/users/bensinjin/received_events","type":"User","site_admin":false},"created_at":"2017-10-06T19:30:08Z","updated_at":"2017-10-06T19:30:08Z","author_association":"NONE","body":"I know this is closed but I figured it out - I needed to add \"<!DOCTYPE html>\" to the top of the header. This has probably already been mentioned but I missed it along the way."}}
{"actor":{"display_login":"bensinjin"}}