mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
Add onenote
Scheme to html sanitizer
This commit is contained in:
parent
0c806024fb
commit
697f6ee2a9
@ -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