Explorar o código

Merge pull request #2727 from overleaf/jel-td-allowed-style-attribute

Allow style attribute on td

GitOrigin-RevId: 2886f5fdfed2d7b225e3f2e827a9313237a59ab0
Simon Detheridge %!s(int64=6) %!d(string=hai) anos
pai
achega
61e338fa7d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/web/config/settings.defaults.coffee

+ 1 - 1
services/web/config/settings.defaults.coffee

@@ -627,7 +627,7 @@ module.exports = settings =
 					'source': [ 'src', 'type' ]
 					'source': [ 'src', 'type' ]
 					'span': [ 'class', 'id', 'style' ]
 					'span': [ 'class', 'id', 'style' ]
 					'table': [ 'border', 'class', 'id', 'style' ]
 					'table': [ 'border', 'class', 'id', 'style' ]
-					'td': [ 'colspan', 'rowspan', 'headers' ]
+					'td': [ 'colspan', 'rowspan', 'headers', 'style' ]
 					'th': [ 'abbr', 'headers', 'colspan', 'rowspan', 'scope', 'sorted', 'style' ]
 					'th': [ 'abbr', 'headers', 'colspan', 'rowspan', 'scope', 'sorted', 'style' ]
 					'tr': [ 'class' ]
 					'tr': [ 'class' ]
 					'video': [ 'alt', 'class', 'controls', 'height', 'width' ]
 					'video': [ 'alt', 'class', 'controls', 'height', 'width' ]