Skip to content

Image Error while import/export #3323

Closed

Description

@benehmb

Description

When I import a image via drag and drop, everything works fine. It is just being inserted and displayed as expected, but when I export the file to HTML or PDF, the image is gone or (if there is one) the alternative text is being displayed. This is because while exporting, the \ of the path is replaced by %5C. It works fine, when I manually change any \ to /.

  • Can you reproduce the issue?

Steps to reproduce

  1. Drag image in
  2. Export as HTMP/PDF

Expected behavior:

The image should be exported as well.

Actual behavior:

The image disappears or the alternative text is displayed.

Versions

  • MarkText version: v0.17.1
  • Operating system: Windows 10
  • Preferences -> Image set to 'Keep original location'

Activity

  1. added
    🐛 bug
    🪲 pri/major
    on May 16, 2026
  2. added a commit that references this issue on Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🪲 pri/major🐛 bug🔭 area/editor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions