spipu / html2pdf

OFFICIAL PROJECT | HTML to PDF converter written in PHP
http://html2pdf.fr/en/default
Open Software License 3.0
1.68k stars 751 forks source link

Clickable area on <a> element and target="_blank" behaviour #782

Open neuromanc1980 opened 1 year ago

neuromanc1980 commented 1 year ago

Hi there

I'm finding two issues related to a link I'm trying to insert The html block I prepare and pass through html2pdf has a button wrapped inside an <a element. There I can see the hover area occupies the full extension of the button, but when I output as pdf the hover area is limited to the text.

Also, isue #692 still in effect, the link is open on the same tab instead of new tab (despite the target="_blank")

Salut