Open
Description
Hi,
the background color is not interpreted correctly.
For example, when the background color is white (#FFFFFF), it is interpreted as #FDFDFD.
I would like to know how to get a completely white background.
Does anyone know what can happen?
html2pdf().from(innerHtml).set({
margin: 1,
filename: fileName+'.pdf',
image: { type: "jpeg", quality: 1},
jsPDF: {orientation: 'portrait', unit: 'in', format: 'letter', compressPDF: false},
pagebreak: {mode: ['avoid-all']}
}).save().then(function () {
console.log("finish!");
});
Thanks!
web.pdf