Skip to content

Commit 1343cfd

Browse files
committed
chore: allow align attribute
it's sometimes used in html emails on tables and divs
1 parent dfed043 commit 1343cfd

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

package-lock.json

Lines changed: 8 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/valid-attributes.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,7 @@ module.exports = {
890890
],
891891
'DIV': [
892892
'accesskey',
893+
'align',
893894
'autocapitalize',
894895
'autofocus',
895896
'class',
@@ -3015,6 +3016,7 @@ module.exports = {
30153016
],
30163017
'TABLE': [
30173018
'accesskey',
3019+
'align',
30183020
'autocapitalize',
30193021
'autofocus',
30203022
'class',
@@ -3073,6 +3075,7 @@ module.exports = {
30733075
],
30743076
'TD': [
30753077
'accesskey',
3078+
'align',
30763079
'autocapitalize',
30773080
'autofocus',
30783081
'class',
@@ -3206,6 +3209,7 @@ module.exports = {
32063209
'TH': [
32073210
'abbr',
32083211
'accesskey',
3212+
'align',
32093213
'autocapitalize',
32103214
'autofocus',
32113215
'class',

0 commit comments

Comments
 (0)