Actions
Defect #10189
openInline image does not work with spaces in file name
Status:
New
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
Now that Redmine does not replaced special characters in attachment filenames, you cannot display an image attachment inline when the attachment name has spaces in it.
e.g.:
!Sample Image.png! will not, as it does not recognise this as a complete image reference
!Sample Image.png!
!Sample_Image.png! will not work, as there is no attachment with this name

!"Sample Image.png"! will not work, it doesn't seem to respect the quotes to enclose the filename
!"Sample Image.png"!
If you rename the file so that it does not containe spaces it does work
!SampleImage2.png! will work

I know it is best practice to name files without spaces, but the users have been used to working with the underscores for a couple of years now. What is the best way to reference the attachment (containing spaces in the name) or revert to the previous file handling (less preferable).
Files
Related issues
Updated by Dicky Hadiyuwono over 12 years ago
Updated by Jeff Fendley over 11 years ago
Updated by Paulo Neves over 11 years ago
- File images_with_space.patch images_with_space.patch added
Updated by Toshi MARUYAMA over 10 years ago
- Has duplicate Defect #17679: Attached inline image not working added
Updated by Toshi MARUYAMA over 10 years ago
- Has duplicate Defect #13375: Inline Image formatting does not allow a file name with spaces added
Updated by Toshi MARUYAMA almost 8 years ago
- Related to Feature #26071: Generate markup for uploaded image dropped into wiki-edit textarea added
Actions