{"action":"opened","issue":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2844","repository_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf","labels_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2844/labels{/name}","comments_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2844/comments","events_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2844/events","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2844","id":142169487,"number":2844,"title":"Repeating THEAD in wkhtmltopdf works?","user":{"login":"CarbonMDM","id":9844930,"avatar_url":"https://avatars.githubusercontent.com/u/9844930?v=3","gravatar_id":"","url":"https://api.github.com/users/CarbonMDM","html_url":"https://github.com/CarbonMDM","followers_url":"https://api.github.com/users/CarbonMDM/followers","following_url":"https://api.github.com/users/CarbonMDM/following{/other_user}","gists_url":"https://api.github.com/users/CarbonMDM/gists{/gist_id}","starred_url":"https://api.github.com/users/CarbonMDM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarbonMDM/subscriptions","organizations_url":"https://api.github.com/users/CarbonMDM/orgs","repos_url":"https://api.github.com/users/CarbonMDM/repos","events_url":"https://api.github.com/users/CarbonMDM/events{/privacy}","received_events_url":"https://api.github.com/users/CarbonMDM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-20T14:33:59Z","updated_at":"2016-03-20T14:33:59Z","closed_at":null,"body":"I spent all the day trying to write table that it's thead will be reapeated each page.\r\nNo way. All the time NO repeated thead on the second page. More, first page last Tr is only half, second part of it is on the second page.\r\nSo I have:\r\n\r\n<html>\r\n <head>\r\n </head>\r\n <body>\r\n <table class=\"table\" style=\"page-break-inside:auto;\" >\r\n <thead>\r\n <tr>\r\n   <th\">HEADER</th>\r\n </tr>\r\n </thead>';\r\n <tbody>\r\n\tthen reapeat what's below 50 times....\r\n\t<tr style=\"page-break-inside:avoid; page-break-after:auto;\"><td>Content</td></tr>\r\n </tbody>\r\n </table>\r\n </body>\r\n</html>\r\n\r\nwkhtmltopdf exec (this is windows):\r\n\"...wkhtmltopdf\\bin\\wkhtmltopdf.exe --page-size A5\"\r\n\r\nNothing helps. \r\n- added thead {display: table-header-group;} - nothing\r\n- added page-break-inside: avoid !important; to th, tr... -nothing\r\n\r\nI played with --print-media-type and --no-print-media-type ...nothing helps\r\n\r\nIs it really working? How this simple example should be done to work?"}}