You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🪲 pri/majorBugs will affect your normal use of Mark Text, causing you unwilling or unable to continue using MT🐛 bugSomething isn't working🔭 area/editor
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
Drag image in
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'
🪲 pri/majorBugs will affect your normal use of Mark Text, causing you unwilling or unable to continue using MT🐛 bugSomething isn't working🔭 area/editor
Activity
fix(muya): resolve Windows drive image paths before export sanitizati…
fix(muya): resolve all export image srcs before DOMPurify validates t…
fix: preserve Windows drive image paths in export (#3323) (#5732)
fix: preserve Windows drive image paths in export (marktext#3323) (ma…
Merge upstream develop (0.24.0-dev, through marktext#5911) into develop