Closed personalizedrefrigerator closed 10 months ago
This also happens with markdown notes, provided that resource links are written with HTML.
It seems to be related to HTML sanitization:
In this case, allowedFilePrefixes
is empty and the URL is replaced with #
.
Operating system
macOS
Joplin version
2.13.5
Desktop version info
Joplin 2.13.5 (prod, darwin)
Client ID: 64df9fdc01c6479ead3a1f7b132d48a6 Sync Version: 3 Profile Version: 44 Keychain Supported: Yes
Revision: 1d04ec6
Current behaviour
Editing an HTML note with an attachment link in the rich text editor clears the link's target. For example,
becomes
Reproduction steps
Expected behaviour
The resource link should be preserved.
Logs
Note: This log is from the Electron development tools and starts just before attaching a resource to the HTML note.
Additional information
This has also been tested on Linux (Ubuntu 23.10) with Joplin 2.12.19. The issue is present in that version as well.