SLaks / Styliner

Turns CSS stylesheets into inline style="" attributes for HTML emails
http://styliner.slaks.net
124 stars 20 forks source link

Breaks Sails 0.12.14 #29

Open thelaughingwolf opened 6 years ago

thelaughingwolf commented 6 years ago

This is a weird issue, but - if I instantiate Styliner (i.e., var Styliner = require('styliner')) in a Sails project, Sails no longer implements where queries correctly.

I attempted to use Styliner as the inliner for a large and relatively mature API, and it caused this problem, whether instantiated at the top of a module or within a function call. I don't relish attempting to replicate it, but I can do some edit-and-test debugging to try to narrow down precisely where the problem is happening, if there's interest.

In any case, we'll be dropping Styliner in favor of something that doesn't cause wildly unexpected behavior in completely unrelated places.