In my HTML, there are many links, e.g.
<a target="_blank" href="https://google.com">text link</a>.
When I create a PDF from this with html2pdf, these links are seen correctly and when I click on them, they also open the correct target.
However, just like with a web page, I want the target to open in a new tab/window and not replace the current PDF in the current tab/window.
That is why I use target="_blank" in the HTML.
How do I get this behaviour to work in the PDF as well?
Someone already asked this question here, but no answer could be found yet:
In my HTML, there are many links, e.g.
<a target="_blank" href="https://google.com">text link</a>
.When I create a PDF from this with html2pdf, these links are seen correctly and when I click on them, they also open the correct target.
However, just like with a web page, I want the target to open in a new tab/window and not replace the current PDF in the current tab/window. That is why I use
target="_blank"
in the HTML.How do I get this behaviour to work in the PDF as well?
Someone already asked this question here, but no answer could be found yet:
https://stackoverflow.com/questions/39080285/html2pdf-target-blank