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