Open link in the new tab in PDF report generated by @journeyapps/pdf-report

Is it possible to make the link in the generated PDF file opens in a new tab?

I tried the html code below, but it doesn’t work (still opens in the same tab).

< a href="{{link}}" target="_blank">Open file</ a>

Thanks in advance!

Once the HTML is converted to a PDF, the PDF does not handle hyperlinks in the same way as the HTML would. Unfortunately there is not a direct way of solving this. It may be possible to embed JS in the PDF, but your mileage may vary depending on the PDF viewer.

The following online forums may help provide some additional information on this matter: