-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Hi, i'm trying to generate a PDF but the last line of text is always cut, I tried to generate a simple string just to see if the issue was the html itself but it seems to be a deeper issue

my code is the following:
var opt = {
margin: [10,10,10,10],
filename: 'myfile.pdf',
html2canvas: { scale: 2 },
jsPDF: { unit: 'mm', format: 'A4', orientation: 'portrait' },
pagebreak: { mode: ["avoid-all", "css", "legacy"] }
};
html2pdf().set(opt).from("test", 'string' ).save();
Currently im at version 0.10.3 but I tried a few different versions and a few different options and had the same issue
Metadata
Metadata
Assignees
Labels
No labels