danschultzer / premailex

Preflight for your HTML emails - inline styling and plain text.
MIT License
172 stars 20 forks source link

tbody with class does not make it to output #80

Closed backspace closed 1 year ago

backspace commented 1 year ago

This amends the existing test to show that a tbody with a class attribute is not part of the final output. I didn’t immediately see what might be needed to get this working but I’ll look at it more in the future 🤞🏻

backspace commented 1 year ago

I still can’t figure out where attributes would be causing a problem. I also found that a data-test-* attribute caused the same problem so it’s not specific to class 🤔

danschultzer commented 1 year ago

Thanks, didn't realize that there was a match on the attributes. I've fixed it now and added a test that ensures this get caught in the future for any new elements or during refactors.

danschultzer commented 1 year ago

v0.3.18 is out with this fix!

backspace commented 1 year ago

thank you 🎉