vanng822 / go-premailer

Inline styling for html mail in golang
MIT License
139 stars 19 forks source link

Fix TestNotSupportedSelectors test case #5

Closed korya closed 7 years ago

korya commented 7 years ago

As far as I can understand goquery decided to change the behaviour of their API in case of invalid/unsupported selectors: instead of panic-ing, they return an empty selection. For more details please refer to https://github.com/PuerkitoBio/goquery/commit/2ab590df05344e1c8da3929b4a3b2aefe56705c0