html2pdf.js icon indicating copy to clipboard operation
html2pdf.js copied to clipboard

html2pdf NPM package not rendering html styles correctly

Open airarrazaval opened this issue 8 years ago • 1 comments

Using html2pdf from npm repo will render PDF without correct styles (borders and others).

Changing

"html2canvas": "https://github.com/eKoopmans/html2canvas/tarball/develop"

to

"html2canvas": "^1.0.0-alpha.11"

in the dependencies of html2pdf.js package.json fixed the problem (don't know if it breaks something else)

airarrazaval avatar Apr 04 '18 09:04 airarrazaval

Thanks, this was corrected in 5c629ec. Closing.

eKoopmans avatar Jun 02 '19 13:06 eKoopmans