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

Fix !important added to table attributes #385

Merged
merged 1 commit into from
May 22, 2021

Conversation

pfernandez
Copy link
Contributor

This fixes #356, which I encountered when cleaning up a marketing email today. I moved the regex to remove !important into a dedicated function, then referenced that function in a couple of places where the attributes are added.

This is my first commit to this repo, but I've tried to match the existing style and even added a test! Let me know if I'm missing anything. :)

@pfernandez pfernandez requested review from jrit and nb May 14, 2021 04:04
@jrit
Copy link
Collaborator

jrit commented May 22, 2021

thanks for the update @pfernandez 👍

@jrit jrit merged commit 8928e18 into master May 22, 2021
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.

With preserveImportant: true juice adds !important to table attributes as well
2 participants