diff --git a/src/transformers/inlineCss.js b/src/transformers/inlineCss.js index 00d9ea65..db9157e5 100644 --- a/src/transformers/inlineCss.js +++ b/src/transformers/inlineCss.js @@ -13,6 +13,7 @@ module.exports = async (html, config = {}, direct = false) => { const css = get(config, 'customCSS', false) if (get(config, 'inlineCSS') === true || !isEmpty(options)) { + options.applyAttributesTableElements = true juice.styleToAttribute = get(options, 'styleToAttribute', {'vertical-align': 'valign'}) juice.widthElements = get(options, 'applyWidthAttributes', []).map(i => i.toUpperCase())