-
-
Notifications
You must be signed in to change notification settings - Fork 634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Add Images as a Link #759
Labels
bug
Something isn't working
Comments
siddydutta
changed the title
Bug: Cannot Add Images as a Link
Cannot Add Images as a Link
Apr 15, 2024
+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
Wrapping an
<img>
with the<a>
tag seems to have no effect. Hence, cannot add images as links.Minimal Example to Reproduce
Expected Behavior
The image should be a hyperlink.
Actual Behavior
The image is not a hyperlink.
Additional Information
There is a hacky solution: https://stackoverflow.com/questions/32833922/unable-to-create-an-image-hyperlink-with-xhtml2pdf/35300776#35300776 for this, but it does not work with a larger image size.
System Information
OS version: macOS Sonoma 14.4.1
Python version: 3.8
XHTML2PDF version: 0.2.15
The text was updated successfully, but these errors were encountered: