mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	Add onenote Scheme to html sanitizer
				
					
				
			This commit is contained in:
		@@ -48,8 +48,8 @@ function sanitize(dirtyHtml) {
 | 
			
		||||
        allowedSchemes: [
 | 
			
		||||
            'http', 'https', 'ftp', 'ftps', 'mailto', 'data', 'evernote', 'file', 'facetime', 'irc', 'gemini', 'git',
 | 
			
		||||
            'gopher', 'imap', 'irc', 'irc6', 'jabber', 'jar', 'lastfm', 'ldap', 'ldaps', 'magnet', 'message',
 | 
			
		||||
            'mumble', 'nfs', 'pop', 'rmi', 's3', 'sftp', 'skype', 'sms', 'spotify', 'steam', 'svn', 'udp', 'view-source',
 | 
			
		||||
            'vnc', 'ws', 'wss', 'xmpp', 'jdbc', 'slack'
 | 
			
		||||
            'mumble', 'nfs', 'onenote', 'pop', 'rmi', 's3', 'sftp', 'skype', 'sms', 'spotify', 'steam', 'svn', 'udp',
 | 
			
		||||
            'view-source', 'vnc', 'ws', 'wss', 'xmpp', 'jdbc', 'slack'
 | 
			
		||||
        ],
 | 
			
		||||
        transformTags,
 | 
			
		||||
    });
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user