Jspdf - Couldn't convert html to PDF that has SVG element

I’m using jspdf (2.3.1) library. Svg element is missing while trying to convert html page to pdf document, remaining elements are displaying fine svg alone missing. Could anyone please help with this?.

Table1 paragraph

exportPdf() {
const doc = new jsPDF(‘p’, ‘pt’, ‘a4’);
doc.addSvgAsImage(’’, 10, 50, 200 ,200);
doc.html(document.getElementById(“table1”), {x: 10, y: 250}).then(()=>{

1 Like