mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	Merge pull request #3701 from meichthys/patch-2
Add `onenote` Scheme to html sanitizer
This commit is contained in:
		
						commit
						2699c995ee
					
				| @ -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, | ||||
|     }); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam