You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-12 22:57:38 +02:00
Desktop: Fixes #3510: Note links would be broken after saving a note in Rich Text editor
This commit is contained in:
@ -187,6 +187,9 @@ class Note extends BaseItem {
|
||||
return `:/${id}`;
|
||||
});
|
||||
}
|
||||
|
||||
// Handles joplin://af0edffa4a60496bba1b0ba06b8fb39a
|
||||
body = body.replace(/\(joplin:\/\/([a-zA-Z0-9]{32})\)/g, '(:/$1)');
|
||||
}
|
||||
|
||||
this.logger().debug('replaceResourceExternalToInternalLinks result', body);
|
||||
|
Reference in New Issue
Block a user