You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having the same issue. I was very excited when I found this library since I have similar functionality in production code but am not able to save pictures. As there seems to be issues with using this library with V8, I reverted my app back to the old engine. Now it generates a pdf file from the gmail message but the pdf is completely blank except for a email header at the top. Any suggestions for what I might be doing wrong?
I am having the same issue. I was very excited when I found this library since I have similar functionality in production code but am not able to save pictures. As there seems to be issues with using this library with V8, I reverted my app back to the old engine. Now it generates a pdf file from the gmail message but the pdf is completely blank except for a email header at the top. Any suggestions for what I might be doing wrong?
I had this issue as well (Just the email header was present, the rest of the pdf was blank). For me I solved it by changing the regex in function processStyleTags(html) : return html.replace(/(<style[^>]*>)(.*?)(<\/style>)/gi, function(m, tag, style, end) {
instead of return html.replace(/(<style[^>]*>)(.*?)(?:<\/style>)/gi, function(m, tag, style, end) {
Dear, thanks for your code !
Unfortunately I have a problem.
The pdf generated file is blank.
Every time is generated a 1.6KB pdf file .
Do you have an help, please ?
Thanks you very much.
Best regards
Andrea
The text was updated successfully, but these errors were encountered: