juice
juice copied to clipboard
Juice inlines CSS stylesheets into your HTML source.
Is there a reason why `juice` not use the informations stored in the `style` attributes for: - applyHeightAttributes - applyWidthAttributes - styleToAttribute e.g. `` will remain ``. But img {...
`html.replace` in `String(html).replace` And this error does not occur when working with SVG files ```/resourses/node_modules/juice/lib/cheerio.js:19 html = html.replace(re, function(match, subMatch) { ^ TypeError: html.replace is not a function at /home/rtx/resourses/node_modules/juice/lib/cheerio.js:19:17...
When a selector matches multiple times (DOM elements) and full inlining is not required, it would be great if an option could be added that would let juice not inline...
It seems this package currently allow only copying over `@media` queries. But I would prefer that `@media` tested for and then CSS rules applied, removing `@media` queries. For example, my...
The HTML at the bottom is a result from running juice on. You will note that the table td has 3 classes, none of which expand into styles ## Before...
Just a nice-to-have to get a very clean HTML. As Juice strips off the links to the stylesheets, the class and id are not relevant and thus can be stripped...
Bumps [mocha](https://github.com/mochajs/mocha) from 5.2.0 to 10.1.0. Release notes Sourced from mocha's releases. v10.1.0 10.1.0 / 2022-10-16 :tada: Enhancements #4896: Browser: add support for prefers-color-scheme: dark (@greggman) :nut_and_bolt: Other #4912: Browser:...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.12.2 to 18.11.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.2 to 4.8.4. Release notes Sourced from typescript's releases. TypeScript 4.8.4 For release notes, check out the release announcement. For the complete list of fixed issues, check...
Bumps [commander](https://github.com/tj/commander.js) from 6.1.0 to 9.4.1. Release notes Sourced from commander's releases. v9.4.1 Fixed .setOptionValue() now also clears option source (#1795) TypeScript: add implied to OptionValueSource for option values set...