mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 18:05:55 +01:00 
			
		
		
		
	make sure content is string for post-processing
This commit is contained in:
		| @@ -889,6 +889,10 @@ function scanForLinks(note, content) { | ||||
|  * Things which have to be executed after updating content, but asynchronously (separate transaction) | ||||
|  */ | ||||
| async function asyncPostProcessContent(note, content) { | ||||
|     if (note.hasStringContent() && !utils.isString(content)) { | ||||
|         content = content.toString(); | ||||
|     } | ||||
|  | ||||
|     scanForLinks(note, content); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user