diff --git a/README.md b/README.md index 756353c..a3dd491 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ Inspired by the [juice](https://github.com/Automattic/juice) library. ## Features -- Uses [cheerio](https://github.com/cheeriojs/cheerio) instead of jsdom - Works on Windows - Preserves Doctype - Modular @@ -171,10 +170,6 @@ When a data-embed attribute is present on a tag, inline-css will This can be used to embed email client support hacks that rely on css selectors into your email templates. -### cheerio options - -Options to passed to [cheerio](https://github.com/cheeriojs/cheerio). - ## Contributing See the [CONTRIBUTING Guidelines](https://github.com/jonkemp/inline-css/blob/master/CONTRIBUTING.md) diff --git a/index.js b/index.js index 9bad1a8..22ee5b6 100644 --- a/index.js +++ b/index.js @@ -16,11 +16,6 @@ module.exports = (html, options) => new Promise((resolve, reject) => { HBS: { start: '{{', end: '}}' } }, xmlMode: false, - decodeEntities: false, - lowerCaseTags: true, - lowerCaseAttributeNames: false, - recognizeCDATA: false, - recognizeSelfClosing: false }, options); inlineContent(String(html), opt) diff --git a/lib/handleRule.js b/lib/handleRule.js index 9869a6e..b306360 100644 --- a/lib/handleRule.js +++ b/lib/handleRule.js @@ -3,21 +3,23 @@ const parseCSS = require('css-rules'); const styleSelector = cssSelector('
Some Headline | -