I'm using jspdf to render text that I get from a text editor (which means the text has HTML tags and styles and classes), i'm using the method .html
when the note is basic text and it's working fine, but when my text has links the links gets weirdly formatted (extra spaces) and it's not clickable, I can't use other methods like .text or .textWidthLink because they don't strip the html from the tags and doesn't keep the editor styles
await doc.html(text, {
x: x,
y: dy,
});
is there anyway to render html without the tags but keeping the styles and at the same time get clickable and styled links.