I am trying to render HTML to multiple PDF pages. I am using the CSS attribute "page-break-inside: avoid" on the div where I want a page break. Webshot / Phantom will create a new page because of this but all of the content is appearing on the first page. Any idea why?
I am trying to render HTML to multiple PDF pages. I am using the CSS attribute "page-break-inside: avoid" on the div where I want a page break. Webshot / Phantom will create a new page because of this but all of the content is appearing on the first page. Any idea why?
Below are my options:
I also tried using phantom2 via the phantompath option instead of phantom1.9. But I still get the same result.