Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tbody with class does not make it to output #80

Merged
merged 2 commits into from
Apr 7, 2023

Conversation

backspace
Copy link
Contributor

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 added a commit to backspace/adventures that referenced this pull request Apr 4, 2023
The classes were only there for ease of selection via
test page objects, but even data attributes caused the
tbody to not be output when the HTML was converted to
text. danschultzer/premailex#80
@backspace
Copy link
Contributor Author

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
Copy link
Owner

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 danschultzer merged commit a59de8e into danschultzer:main Apr 7, 2023
5 checks passed
@danschultzer
Copy link
Owner

v0.3.18 is out with this fix!

@backspace
Copy link
Contributor Author

thank you 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants