mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-25 00:25:03 +08:00
Add all deprecated HTML attributes to sanitizer whitelist #260
https://www.codehelp.co.uk/html/deprecated.html
This commit is contained in:
parent
f5f32802c0
commit
e34bcd2296
2 changed files with 13 additions and 2 deletions
|
@ -52,6 +52,8 @@ const Preset = {
|
|||
'b',
|
||||
'i',
|
||||
'em',
|
||||
'u',
|
||||
's',
|
||||
'strong',
|
||||
'center',
|
||||
'a',
|
||||
|
@ -87,6 +89,7 @@ const Preset = {
|
|||
'autocomplete',
|
||||
'axis',
|
||||
'border',
|
||||
'background',
|
||||
'bgcolor',
|
||||
'cellpadding',
|
||||
'cellspacing',
|
||||
|
@ -288,6 +291,7 @@ const Preset = {
|
|||
'span',
|
||||
'strong',
|
||||
'style',
|
||||
'strike',
|
||||
'sub',
|
||||
'summary',
|
||||
'sup',
|
||||
|
@ -321,6 +325,7 @@ const Preset = {
|
|||
'autocomplete',
|
||||
'axis',
|
||||
'border',
|
||||
'background',
|
||||
'bgcolor',
|
||||
'cellpadding',
|
||||
'cellspacing',
|
||||
|
@ -330,12 +335,14 @@ const Preset = {
|
|||
'checked',
|
||||
'classid',
|
||||
'classname',
|
||||
'color',
|
||||
'clear',
|
||||
'colspan',
|
||||
'cols',
|
||||
'color',
|
||||
'content',
|
||||
'contextmenu',
|
||||
'controls',
|
||||
'compact',
|
||||
'coords',
|
||||
'data',
|
||||
'datetime',
|
||||
|
@ -362,6 +369,7 @@ const Preset = {
|
|||
'hreflang',
|
||||
'htmlfor',
|
||||
'httpequiv',
|
||||
'hspace',
|
||||
'icon',
|
||||
'id',
|
||||
'label',
|
||||
|
@ -383,6 +391,7 @@ const Preset = {
|
|||
'name',
|
||||
'novalidate',
|
||||
'nowrap',
|
||||
'noshade',
|
||||
'open',
|
||||
'optimum',
|
||||
'pattern',
|
||||
|
@ -406,6 +415,7 @@ const Preset = {
|
|||
'shape',
|
||||
'size',
|
||||
'sizes',
|
||||
'start',
|
||||
'sortable',
|
||||
'sorted',
|
||||
'span',
|
||||
|
@ -425,6 +435,7 @@ const Preset = {
|
|||
'usemap',
|
||||
'valign',
|
||||
'value',
|
||||
'vspace',
|
||||
'width',
|
||||
'wmode',
|
||||
]),
|
||||
|
|
2
mailsync
2
mailsync
|
@ -1 +1 @@
|
|||
Subproject commit 74efffd5bc25fce3552806c8d26216d23c6ba78b
|
||||
Subproject commit 2ef27bddfc9554c0e86d919b1c6f257d652566f0
|
Loading…
Reference in a new issue