-
-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images with spaces do not show on PDF export #2355
Comments
I can confirm the issue, I have check why this happens in the bundled library. |
What is the update on this issue? I see it has been pushed back to a later version. Is there an ETA for that later version? The reason I ask is because I need to do something about this soon. If the fix isn't going to come out soon, I will need to create a script to go through all the FAQ's and rework the links and then rework the file names. Then put out a policy so file names like that are not created in the future (which of course will be promptly ignored and the problem will continue). Don't want to have to do that if I don't have to. |
Currently I have no fix, that's why I moved it to the 3.1.13 release. |
Describe the bug
When you try to use the "PDF Version" link to create a PDF of the FAQ article, it works except for images that have spaces in the file names.
To Reproduce
Create an image (png) and save it with a space in the name. Like "This image name has spaces.png". Then create an FAQ article and add that image to the article. The article looks good and it publishes fine. The users can see the article with the image as intended. But if you click the "PDF Version" link, the PDF will not contain the image. If you save the same image as "This_image_name_has_no_spaces.png" and add it just like before. The PDF will include the image.
Expected behavior
The PDF creation should account for images that may have spaces in them and take the appropriate action so those images are included in the PDF just like all other images.
phpMyFAQ (please complete the following information):
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: