mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-30 04:01:31 +08:00 
			
		
		
		
	Evernote import - use pageUrl attribute for enex source-url
This commit is contained in:
		
							parent
							
								
									f809da58ec
								
							
						
					
					
						commit
						aa3b26c965
					
				| @ -115,7 +115,7 @@ function importEnex(taskContext, file, parentNote) { | |||||||
|             let labelName = currentTag; |             let labelName = currentTag; | ||||||
| 
 | 
 | ||||||
|             if (labelName === 'source-url') { |             if (labelName === 'source-url') { | ||||||
|                 labelName = 'sourceUrl'; |                 labelName = 'pageUrl'; | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             labelName = sanitizeAttributeName(labelName); |             labelName = sanitizeAttributeName(labelName); | ||||||
| @ -139,7 +139,7 @@ function importEnex(taskContext, file, parentNote) { | |||||||
|             else if (currentTag === 'source-url') { |             else if (currentTag === 'source-url') { | ||||||
|                 resource.attributes.push({ |                 resource.attributes.push({ | ||||||
|                     type: 'label', |                     type: 'label', | ||||||
|                     name: 'sourceUrl', |                     name: 'pageUrl', | ||||||
|                     value: text |                     value: text | ||||||
|                 }); |                 }); | ||||||
|             } |             } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 contributor
						contributor