Jelajahi Sumber

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

Allow style attribute on td

GitOrigin-RevId: 2886f5fdfed2d7b225e3f2e827a9313237a59ab0
Simon Detheridge 6 tahun lalu
induk
melakukan
61e338fa7d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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' ]
 					'span': [ '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' ]
 					'tr': [ 'class' ]
 					'video': [ 'alt', 'class', 'controls', 'height', 'width' ]