PDF metadata with ndash causes links in PDF to break

Created on 29 August 2023, over 1 year ago
Updated 30 August 2023, over 1 year ago

Problem/Motivation

When uploading a PDF containing working links, if the metadata contains a ndash, the PDF generating causes the links to break and become colored plain text.

Steps to reproduce

1. Get a PDF that contains links and add ndash in the metadata
2. Upload the PDF to Drupal
3. View the document and see the links are no longer links but plain text.

Proposed resolution

Set the print flag on the hyperlinks with hyperref.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Sunny-Lee

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024