mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	Merge branch 'stable'
This commit is contained in:
		
						commit
						ed2afe5c20
					
				| @ -261,7 +261,8 @@ async function importTar(taskContext, fileBuffer, importRootNote) { | |||||||
|             content = content.toString("UTF-8"); |             content = content.toString("UTF-8"); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         if ((noteMeta && noteMeta.format === 'markdown') || (!noteMeta && ['text/markdown', 'text/x-markdown'].includes(mime))) { |         if ((noteMeta && noteMeta.format === 'markdown') | ||||||
|  |             || (!noteMeta && taskContext.data.textImportedAsText && ['text/markdown', 'text/x-markdown'].includes(mime))) { | ||||||
|             const parsed = mdReader.parse(content); |             const parsed = mdReader.parse(content); | ||||||
|             content = mdWriter.render(parsed); |             content = mdWriter.render(parsed); | ||||||
|         } |         } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam