mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	fix "search in subtree", closes #941
This commit is contained in:
		| @@ -390,19 +390,12 @@ async function saveLinks(note, content) { | ||||
|     const foundLinks = []; | ||||
|  | ||||
|     if (note.type === 'text') { | ||||
|         console.time("LINKS"); | ||||
|  | ||||
|         content = findImageLinks(content, foundLinks); | ||||
|         content = findInternalLinks(content, foundLinks); | ||||
|         content = findExternalLinks(content, foundLinks); | ||||
|         content = findIncludeNoteLinks(content, foundLinks); | ||||
|  | ||||
|         console.timeEnd("LINKS"); | ||||
|         console.time("IMAGES"); | ||||
|  | ||||
|         content = await downloadImages(note.noteId, content); | ||||
|  | ||||
|         console.timeEnd("IMAGES"); | ||||
|     } | ||||
|     else if (note.type === 'relation-map') { | ||||
|         findRelationMapLinks(content, foundLinks); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user