Hi Support,
I'm playing with the "From Web Page" to convert an HTML document to PDF.
All looks fine except one problem with how links are created from <a href... >'s.
If the location of html.html is "c:\folder" and there's "<a href="subfolder/file.pdf" />link</a>", the resulting PDF will have an URI action link annotation, but the URI property will look like "file:///c:/folder/subfolder/file.pdf" (so absolute) instead of just "subfolder/file.pdf" (relative).
As a result: links no longer work if the pdf is moved elsewhere (along with subfolder).
-žarko
From Web Page : <a href "relative/..."> gets converted to absolute file:/// link SOLVED
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 1473
- Joined: Thu Sep 05, 2019 12:35 pm
-
- Site Admin
- Posts: 11031
- Joined: Wed Jan 03, 2018 6:52 pm
Re: From Web Page : <a href "relative/..."> gets converted to absolute file:/// link
Hello, zarkogajic
Thank you for bringing this up, I have reproduce it and passed it along for review.
Kind regards,
Thank you for bringing this up, I have reproduce it and passed it along for review.
Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
-
- User
- Posts: 1473
- Joined: Thu Sep 05, 2019 12:35 pm
-
- Site Admin
- Posts: 19864
- Joined: Mon Jan 12, 2009 8:07 am