mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 03:00:41 +01:00
grammar
This commit is contained in:
@@ -317,8 +317,8 @@ function importEnex(taskContext, file, parentNote) {
|
||||
content = content.replace(mediaRegex, imageLink);
|
||||
|
||||
if (!content.includes(imageLink)) {
|
||||
// if there wasn't any match for the reference, we'll add the image anyway
|
||||
// otherwise image would be removed since no note would include it
|
||||
// if there wasn't any match for the reference, we'll add the image anyway,
|
||||
// otherwise the image would be removed since no note would include it
|
||||
content += imageLink;
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user