{"action":"created","issue":{"url":"https://api.github.com/repos/dompdf/dompdf/issues/720","labels_url":"https://api.github.com/repos/dompdf/dompdf/issues/720/labels{/name}","comments_url":"https://api.github.com/repos/dompdf/dompdf/issues/720/comments","events_url":"https://api.github.com/repos/dompdf/dompdf/issues/720/events","html_url":"https://github.com/dompdf/dompdf/issues/720","id":20279087,"number":720,"title":"Table with lots of content printing many blank pages","user":{"login":"12hys","id":4165861,"avatar_url":"https://avatars.githubusercontent.com/u/4165861?v=3","gravatar_id":"","url":"https://api.github.com/users/12hys","html_url":"https://github.com/12hys","followers_url":"https://api.github.com/users/12hys/followers","following_url":"https://api.github.com/users/12hys/following{/other_user}","gists_url":"https://api.github.com/users/12hys/gists{/gist_id}","starred_url":"https://api.github.com/users/12hys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/12hys/subscriptions","organizations_url":"https://api.github.com/users/12hys/orgs","repos_url":"https://api.github.com/users/12hys/repos","events_url":"https://api.github.com/users/12hys/events{/privacy}","received_events_url":"https://api.github.com/users/12hys/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dompdf/dompdf/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dompdf/dompdf/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2013-09-30T17:49:20Z","updated_at":"2015-06-04T21:45:11Z","closed_at":null,"body":"I've encountered a bug with DOMPDF where if a cell has a lot of embedded html, it will print many blank pages before finally printing the content. Does anyone have an idea or a quick fix for this? Issue is still present in master. Please let me know if you need any more info!\r\n\r\nPHP 5.3.3 on CentOS 2.6.32-358.6.2.el6.x86_64\r\n\r\nDOMPDF 0.6 beta 3\r\n\r\nExpected: PDF to not print 9 blank pages before it prints the content.\r\nResult: http://eclecticgeek.com/dompdf/debug.php?identifier=2ea1c530cc0b7c46a4b13d1558727fd0\r\n\r\nSource HTML:\r\n```html\r\n<!DOCTYPE html>\r\n<html>\r\n    <head>\r\n    </head>\r\n    <body>\r\n        <table>\r\n            <thead>\r\n                <tr>\r\n                    <th>Test1</th>\r\n                    <th>Test2</th>\r\n                    <th>Test3</th>\r\n                </tr>\r\n            </thead>\r\n            <tbody>\r\n                <tr>\r\n                    <td>1</td>\r\n                    <td>\r\n                        <b>\r\n                            Lorem ipsum dolor sit amet, consectetur adipiscing elit.\r\n                        </b> \r\n                        <br>\r\n                        &nbsp;\r\n                        <div>\r\n                            <div>\r\n                                <u>\r\n                                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus id lacus fringilla, iaculis magna nec, tincidunt sapien.\r\n                                </u>\r\n                            </div>\r\n                            <div>\r\n                                <u>&nbsp;</u>\r\n                            </div>\r\n                            <div>\r\n                                <b>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus id lacus fringilla, iaculis magna nec, tincidunt sapien. In accumsan viverra suscipit. Nullam iaculis, odio at convallis varius, quam ipsum volutpat odio, at sodales nunc mi sed lorem. Nunc odio quam, adipiscing vitae adipiscing et, condimentum sed justo. In molestie suscipit ligula in iaculis. Fusce orci tellus, interdum quis purus eu, blandit mattis ante. Maecenas urna libero, adipiscing eget euismod non, tempor et mauris. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Quisque mollis tortor id mauris convallis suscipit. Cras congue nulla nisl, ullamcorper tincidunt ligula faucibus ac. Integer sed libero lacinia erat sollicitudin dignissim. Pellentesque a convallis elit, sed convallis dui.</b> \r\n                            </div>\r\n                            <div>\r\n                                <ol>\r\n                                    <li>Testing Number 1</li>\r\n                                    <li>Testing Number 2</li>\r\n                                    <li>Testing Number 3</li>\r\n                                    <li>Testing Number 4</li>\r\n                                    <li>Testing Number 5</li>\r\n                                    <li>Testing Number 6</li>\r\n                                    <li>Testing Number 7</li>\r\n                                    <li>Testing Number 8</li>\r\n                                    <li>Testing Number 9</li>\r\n                                    <li>Testing Number 10</li>\r\n                                    <li>Testing Number 11</li>\r\n                                    <li>Testing Number 12</li>\r\n                                    <li>Testing Number 13</li>\r\n                                    <li>Testing Number 14</li>\r\n                                    <li>Testing Number 15</li>\r\n                                    <li>Testing Number 16</li>\r\n                                    <li>Testing Number 17</li>\r\n                                    <li>Testing Number 18</li>\r\n                                    <li>Testing Number 19</li>\r\n                                </ol>\r\n                            </div>\r\n                        </div>\r\n                        <div>\r\n                            <div>\r\n                                <b>Some example text goes in here.</b>\r\n                            </div>\r\n                            <br />\r\n                            <div>\r\n                                <b>Some example text goes in here.</b>\r\n                            </div>\r\n                            <br />\r\n                            <div>\r\n                                <b>Some example text goes in here.</b>\r\n                            </div>\r\n                            <br />\r\n                            <div>\r\n                                <b>Some example text goes in here.</b>\r\n                            </div>\r\n                            <br />\r\n                            <div>\r\n                                <b>Some example text goes in here.</b>\r\n                            </div>\r\n                            <br />\r\n                            <div>\r\n                                <b>Some example text goes in here.</b>\r\n                            </div>\r\n                            <br />\r\n                            <div>\r\n                                <b>Some example text goes in here.</b>\r\n                            </div>\r\n                            <br />\r\n                            <div>\r\n                                <b>Some example text goes in here.</b>\r\n                            </div>\r\n                        </div>\r\n                    </td>\r\n                    <td>180</td>\r\n                </tr>\r\n            </tbody>\r\n        </table>\r\n    </body>\r\n</html>\r\n```"},"comment":{"url":"https://api.github.com/repos/dompdf/dompdf/issues/comments/109063858","html_url":"https://github.com/dompdf/dompdf/issues/720#issuecomment-109063858","issue_url":"https://api.github.com/repos/dompdf/dompdf/issues/720","id":109063858,"user":{"login":"bsweeney","id":485897,"avatar_url":"https://avatars.githubusercontent.com/u/485897?v=3","gravatar_id":"","url":"https://api.github.com/users/bsweeney","html_url":"https://github.com/bsweeney","followers_url":"https://api.github.com/users/bsweeney/followers","following_url":"https://api.github.com/users/bsweeney/following{/other_user}","gists_url":"https://api.github.com/users/bsweeney/gists{/gist_id}","starred_url":"https://api.github.com/users/bsweeney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsweeney/subscriptions","organizations_url":"https://api.github.com/users/bsweeney/orgs","repos_url":"https://api.github.com/users/bsweeney/repos","events_url":"https://api.github.com/users/bsweeney/events{/privacy}","received_events_url":"https://api.github.com/users/bsweeney/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T21:45:11Z","updated_at":"2015-06-04T21:45:11Z","body":"nothing yet :/"}}