From 697f6ee2a99d65591e67e0823c1d3fed2e97473e Mon Sep 17 00:00:00 2001 From: MeIchthys <10717998+meichthys@users.noreply.github.com> Date: Mon, 13 Mar 2023 10:36:25 -0400 Subject: [PATCH] Add `onenote` Scheme to html sanitizer --- src/services/html_sanitizer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/html_sanitizer.js b/src/services/html_sanitizer.js index 899987b49..4693ee1df 100644 --- a/src/services/html_sanitizer.js +++ b/src/services/html_sanitizer.js @@ -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, });