Open huertanix opened 2 years ago
What PDF viewer are you using? Dangerzone doesn't create hyperlinks in that document on my end (at least, not as of https://github.com/freedomofpress/dangerzone/pull/161), nor in any other document I've tried. Could the PDF viewer be inferring that tf.org/doc/draft-knodel-e2ee-definition/
is a link of its own because of the .org
?
EDIT: Here's something to investigate: a StackExchange comment regarding using ps2pdf for PDF compression (which we do) alludes to this issue:
If that's what's happening, maybe we could provide an option to skip file compression.
After converting a PDF file with an embedded hyperlink, the safe copy splits hyperlinks between line breaks rather than keeping the link intact across the line break.
e.g. a line like this:
...creates two links, one "https://datatrack.erie/" link on the first line, and a different "http://tf.org/doc/draft-knodel-e2ee-definition/"
To reproduce: