michaelrsweet / htmldoc

HTML Conversion Software
https://www.msweet.org/htmldoc
GNU General Public License v2.0
206 stars 46 forks source link

Links for files in subfolders fail #525

Open prichterich opened 3 months ago

prichterich commented 3 months ago

Up to htmldoc version 1.9.3, htmldoc handled links to files in subfolders correctly. Later versions, including 1.9.18, create non-functional links in the PDF file. For example, this link: <a href="edit/edit_undo.htm">Undo</a> in the PFD file does not work, and hovering shows a file link instead of the usual "Go to page #": file://Users/Shared/.../edit/edit_undo.htm The corresponding object entry in the PDF file is: obj<</S/Launch/F(edit/edit_undo.htm)>>endobj

A ZIP archive with an example that works in 1.9.3 but fails in 1.9.18 is attached. htmldoc_link_bug2.zip

michaelrsweet commented 3 months ago

Will investigate for 1.9.19...