jonkemp / inline-css

Inline css into an html file.
MIT License
428 stars 83 forks source link

Error on parsing css #62

Open dadepl opened 7 years ago

dadepl commented 7 years ago

Hi,

I'm parsing my code with inline-css and have error: Unhandled rejection Error: Error: Unexpected } with part of css: @supports (-ms-accelerator:true){.trumbowyg-box-blur .trumbowyg-editor *,.trumbowyg-box-blur .trumbowyg-editor::before{color:rgba(200,200,200,.6)!important;}}

I can't remove this part even if I don't want it, because it comes with other node package (Trumbowyg wysiwyg) and it's automatically loaded and compiled into main css file from node_modules. Is there any way to omit some selectors when passing html into inlineCss(html...)?

Thanks.

starfishmod commented 6 years ago

I have this same issue as well when passing a bootsrap css file - it's a bug in CSSOM