mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	clipper fix, closes #1840
This commit is contained in:
		| @@ -107,7 +107,11 @@ function processContent(images, note, content) { | ||||
|             const filename = path.basename(src); | ||||
|  | ||||
|             if (!dataUrl || !dataUrl.startsWith("data:image")) { | ||||
|                 log.info("Image could not be recognized as data URL:", dataUrl.substr(0, Math.min(100, dataUrl.length))); | ||||
|                 const excerpt = dataUrl | ||||
|                     ? dataUrl.substr(0, Math.min(100, dataUrl.length)) | ||||
|                     : "null"; | ||||
|  | ||||
|                 log.info("Image could not be recognized as data URL: " + excerpt); | ||||
|                 continue; | ||||
|             } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user