diff --git a/src/services/html_sanitizer.ts b/src/services/html_sanitizer.ts index 71f2d7806..d3d48eea1 100644 --- a/src/services/html_sanitizer.ts +++ b/src/services/html_sanitizer.ts @@ -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',