You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a link using an <a></a> tag and pdf.write_html(), the underline which normally appears on links continues past the link and throughout the remainder of the sentence.
Error details
No exceptions are raised
Minimal code
fromfpdfimportFPDFpdf=FPDF()
pdf.add_page()
pdf.write_html(
""" The default <a href="https://www.google.com/" target="_blank">link underline</a> continues past the end of the link. """
)
pdf.write_html(
""" <a href="https://www.google.com/" target="_blank">It also occurs</a> when the link starts the sentence. """
)
pdf.output("link.pdf")
Screenshot of output PDF
Environment
Please provide the following information:
When creating a link using an
<a></a>
tag andpdf.write_html()
, the underline which normally appears on links continues past the link and throughout the remainder of the sentence.Error details
No exceptions are raised
Minimal code
Screenshot of output PDF
Environment
Please provide the following information:
fpdf2
version used: Unreleased version @ git+https://github.com/py-pdf/fpdf2.git@fb1b01d9113e7b8326f9d12491679b5c52f734d3The text was updated successfully, but these errors were encountered: