mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08:00 
			
		
		
		
	fix(import): check boxes not preserved on safe import
This commit is contained in:
		
							parent
							
								
									5a6151e225
								
							
						
					
					
						commit
						6b973e835e
					
				@ -52,7 +52,8 @@ function sanitize(dirtyHtml: string) {
 | 
			
		||||
    return sanitizeHtml(dirtyHtml, {
 | 
			
		||||
        allowedTags,
 | 
			
		||||
        allowedAttributes: {
 | 
			
		||||
            '*': [ 'class', 'style', 'title', 'src', 'href', 'hash', 'disabled', 'align', 'alt', 'center', 'data-*' ]
 | 
			
		||||
            "*": [ 'class', 'style', 'title', 'src', 'href', 'hash', 'disabled', 'align', 'alt', 'center', 'data-*' ],
 | 
			
		||||
            "input": [ "type" ]
 | 
			
		||||
        },
 | 
			
		||||
        allowedSchemes: [
 | 
			
		||||
            'http', 'https', 'ftp', 'ftps', 'mailto', 'data', 'evernote', 'file', 'facetime', 'irc', 'gemini', 'git',
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user