0

Can't resolve the issue with wrong hyperlink formatting in the pdf file created using the wkhtmltopdf tool. In the html code hyperlink is next:

Please click <a href="https://google.com">here</a>.

Html is formatted correctly but in the pdf the link is formatted like this:

Please click here (https://google.com).

How can I make it like a default html link?

Tried to update the wkhtmltopdf from 0.12.4 to 0.12.6 but this doesn't help.

Upd: have tried solution from here:

  a:link:after, a:visited:after
  {
    content: "";
  }

This solve the issue, but the link is not clickable anymore.

Upd2: looks like this is a bug in wkhtmltopdf: github.

Many users facing this issue. So, the link only works if the link text is the link. But, no way to get the html hyperlink behavior in the pdf...

amnesia_haze
  • 1
  • 1
  • 2

0 Answers0