Image is not displayed if it has space in the name

Created on 7 August 2024, 4 months ago
Updated 20 August 2024, 4 months ago

Problem/Motivation

PDF version of node shows broken image when the image name has spaces in it (example: "Test 1.jpg"). If there is no spaces in the name images are displayed correctly

Steps to reproduce

  • Install "Printable" module
  • Enable "Printable" and "Printable PDF" modules
  • In Printable->PDF settings:
    • PDF generation tool: dompdf
    • Save the pdf
    • Ignore warnings
  • In Printable->Links->Pdf settings select "links area"
  • Structure->Types->Article->Manage Display in "Custom display settings" block select "Printable"
  • Create new Article
  • In Article Body add image which has spaces in the name (eg. "Test 1.jpg")
  • Download PDF file
🐛 Bug report
Status

Active

Version

3.1

Component

Code

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024