Skip to main content
Participating Frequently
September 13, 2023
Question

Hyphen Missing when copying web URL address from a PDF - InDesign

  • September 13, 2023
  • 1 reply
  • 187 views

When copying the URL from PDF and pasting it into any editor or browser, hard hyphen present in web URL at the end line of is missing.

Note: The hard hyphen is present in InDesign at end of line(web url)is present in exported PDF.

This topic has been closed for replies.

1 reply

James Gifford—NitroPress
Legend
September 13, 2023

Are you copying text from the PDF, or an embedded/generated link? If it's text, the problem is more likely in the platform's method of cutting and pasting data than in the PDF itself. What if you paste to a plain-text document or field, so that there should be no "cleanup" or "fixing" of the URL?

 

You may have to encode the dash as is done with spaces (using %20) so that it is interpreted correctly. Use %2D instead of the dash in the actual link value. That is, "http://www.test  [dot] com/my%2Dpage.html"  instead of "...my-page.html".)