{"action":"created","issue":{"url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/429","labels_url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/429/labels{/name}","comments_url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/429/comments","events_url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/429/events","html_url":"https://github.com/mileszs/wicked_pdf/issues/429","id":94653239,"number":429,"title":"header/footer with html template not render in every page","user":{"login":"fmh","id":56861,"avatar_url":"https://avatars.githubusercontent.com/u/56861?v=3","gravatar_id":"","url":"https://api.github.com/users/fmh","html_url":"https://github.com/fmh","followers_url":"https://api.github.com/users/fmh/followers","following_url":"https://api.github.com/users/fmh/following{/other_user}","gists_url":"https://api.github.com/users/fmh/gists{/gist_id}","starred_url":"https://api.github.com/users/fmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmh/subscriptions","organizations_url":"https://api.github.com/users/fmh/orgs","repos_url":"https://api.github.com/users/fmh/repos","events_url":"https://api.github.com/users/fmh/events{/privacy}","received_events_url":"https://api.github.com/users/fmh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-13T06:57:45Z","updated_at":"2015-08-02T20:28:57Z","closed_at":"2015-08-02T20:27:35Z","body":"Hello,\r\nI have a strange issue. in my case , the header or footer is not rendered in every page, and footer disappers when header is defined,\r\n`````ruby\r\nformat.pdf {\r\n                render pdf: \"myfile\",\r\n                       header: {\r\n                           html: {template: 'my_views/generate_pdf_header'}\r\n                       },\r\n                       footer: {\r\n                           html: {template: 'my_views/generate_pdf_footer'}\r\n                       },\r\n                       show_as_html: params[:as_html]\r\n              }\r\n ````````````\r\nis this a problem caused by margin ?\r\n\r\n<img width=\"212\" alt=\"capture d ecran 2015-07-13 a 08 54 27\" src=\"https://cloud.githubusercontent.com/assets/56861/8644198/4d1e126c-293d-11e5-8979-32a893572556.png\">\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/comments/127067006","html_url":"https://github.com/mileszs/wicked_pdf/issues/429#issuecomment-127067006","issue_url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/429","id":127067006,"user":{"login":"unixmonkey","id":8360,"avatar_url":"https://avatars.githubusercontent.com/u/8360?v=3","gravatar_id":"","url":"https://api.github.com/users/unixmonkey","html_url":"https://github.com/unixmonkey","followers_url":"https://api.github.com/users/unixmonkey/followers","following_url":"https://api.github.com/users/unixmonkey/following{/other_user}","gists_url":"https://api.github.com/users/unixmonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/unixmonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unixmonkey/subscriptions","organizations_url":"https://api.github.com/users/unixmonkey/orgs","repos_url":"https://api.github.com/users/unixmonkey/repos","events_url":"https://api.github.com/users/unixmonkey/events{/privacy}","received_events_url":"https://api.github.com/users/unixmonkey/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T20:28:57Z","updated_at":"2015-08-02T20:28:57Z","body":":+1: Thanks for bringing this to my attention.\r\n\r\nI've fixed this on the master branch.\r\n\r\nLet me know if you have any trouble after updating."}}