Skip to content
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

Path to image with spaces are not exported #1555

Closed
suroh1994 opened this issue Oct 29, 2019 · 1 comment
Closed

Path to image with spaces are not exported #1555

suroh1994 opened this issue Oct 29, 2019 · 1 comment

Comments

@suroh1994
Copy link

Description

When you add an image to your mark down file and the path to the image contains spaces, the image will be missing in the export. However, the editor will show the image correctly and not provide any errors in the editor or the exported PDF/HTML file.

  • [x ] Can you reproduce the issue?

Steps to reproduce

  1. Open a new mark down file.
  2. Drag and drop an image into the editor, where the path to the image contains spaces (/home/myuser/some path with spaces/test.png). Observe that the image is shown correctly in the editor.
  3. Export the file as PDF or HTML.

Expected behavior:

I would expect the image to be properly shown in the exported PDF/HTML file. If the image can't be shown, I would expect the editor to show me an error or a warning about the issue.

Actual behavior:

In the exported file (both PDFs and HTMLs) the image gets replaced with ![test.png](/home/myuser/some path with spaces/test.png).

Versions

  • Mark Text: 0.15.1
  • Operating system: macOS High Sierra 10.13.6
@fxha
Copy link
Contributor

fxha commented Oct 29, 2019

Duplicate of #1367.

@fxha fxha closed this as completed Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants