Hi.
I have a page that sets an img source to an svg file conditionally using js. and is cloned into an element within the div that is to be printed to pdf. Both images show fine on screen but when pushed to pdf the cloned element does not show the image and there is an empty space left in its place.
Changing the image to use png instead shows the image fine but I would like to use SVG if possible for the scalability.
Html2pdf.js version used: 0.14.0
Hi.
I have a page that sets an img source to an svg file conditionally using js. and is cloned into an element within the div that is to be printed to pdf. Both images show fine on screen but when pushed to pdf the cloned element does not show the image and there is an empty space left in its place.
Changing the image to use png instead shows the image fine but I would like to use SVG if possible for the scalability.
Html2pdf.js version used: 0.14.0