-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiple objects in one conversion issue, only last page renders #23
Comments
Also getting this problem when using multiple objectsettings using htmltext. A similar warning message appears for each page and only the last page content renders. All other pages are blank except for the header and footer content. |
Hmmm... interesting. I think I will set up a trace for changes to the temp folder so it interleaves with the wkhtmltopdf trace, so we can get a better timeline of events. |
Is there an Workaround for this Bug? I need this Function :-( |
A workaround would be to make your content accessible via urls and use the urls instead of the string html. I know that could be pretty inconvenient, especially with highly dynamic content, but the only other thing to do is wait for the issue in wkhtmltopdf to be resolved. |
This would be fixed for the |
I think you forgot to close this issue 😄 |
Indeed, thanks |
I was having trouble getting the multiple objects in one conversion working so I pulled in the code from the readme sample (with a few modifications like changing from pageurl to htmltext).
However, when this runs I'm getting three blank pages and the last page has the expected content (the one with "4Pretty Websites"
I'm also getting three warnings such as the one below corresponding to the three blank pages.
It looks like maybe the html string is being saved in a temporary file that for some reason is no longer available when the conversion runs?
The text was updated successfully, but these errors were encountered: