Defect #40642
openPDFs generated from Issues do not display images if text formatting language is Commonmark Markdown(experimental)
0%
Description
Images displayed in an issue show up in generated pdf if the text formatting language is set to textile. If it is set to CommonMark Markdown (experimental), they do not.
These images are set to display as Textile:
These images are set to display as CommonMark Markdown:
<img src="/attachments/download/32221/Image.jpg" title=".jpg image" alt=".jpg image">
<img src="/attachments/download/32222/Image.png" title=".png image" alt=".png image">
To demonstrate the problem:
Expected behavior:
Click the PDF button at the bottom right of this Issue.
The generated pdf will show the images in this description, assuming the text formatting is set to Textile.
Problem behavior:
Change the text formatting language to CommonMark Markdown (experimental)
Reload this issue.
Click the PDF button
The generated pdf will not show the images.
See issue #39692 and
Redmine 5.0.1.stable
MiniMagick available (optional)
ImageMagick convert available (optional)
ImageMagick PDF support available (optional)
System info: Linux xblgx-ops-4 5.15.0-1046-gcp #54~20.04.1-Ubuntu SMP Wed Oct 25 08:22:15
Redmine Plugin Kit: 1.0.4
Environment:
Redmine version 5.0.1.stable
Ruby version 3.0.4-p208 (2022-04-12) [x86_64-linux]
Rails version 6.1.6
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery sendmail
Redmine settings:
Redmine theme Default
Files