mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 07:01:31 +08:00 
			
		
		
		
	fix enex checkboxes for mac, closes #3511
This commit is contained in:
		
							parent
							
								
									decfeb366c
								
							
						
					
					
						commit
						4f4c3ef3f3
					
				@ -76,8 +76,8 @@ function importEnex(taskContext, file, parentNote) {
 | 
			
		||||
        content = content.replace(/<\/ol>\s*<li>/g, "</ol></li><li>");
 | 
			
		||||
 | 
			
		||||
        // Replace en-todo with unicode ballot box
 | 
			
		||||
        content = content.replace(/<en-todo\s+checked="true"\/>/g, "\u2611 ");
 | 
			
		||||
        content = content.replace(/<en-todo(\s+checked="false")?\/>/g, "\u2610 ");
 | 
			
		||||
        content = content.replace(/<en-todo\s+checked="true"\s*\/>/g, "\u2611 ");
 | 
			
		||||
        content = content.replace(/<en-todo(\s+checked="false")?\s*\/>/g, "\u2610 ");
 | 
			
		||||
 | 
			
		||||
        // Replace OneNote converted checkboxes with unicode ballot box based
 | 
			
		||||
        // on known hash of checkboxes for regular, p1, and p2 checkboxes
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user