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: ensure replaceStrings transformer runs last #804

Merged
merged 1 commit into from Oct 14, 2022

Conversation

cossssmin
Copy link
Member

This PR changes when posthtml-mso, the plugin that enables <outlook> tags, to run before the replaceStrings transformer (specifically, before prettify). It was running after all transformers and was causing issues with replaceStrings.

replaceStrings must run last in the transformers chain so that it can be used as a last resort to change anything in the HTML without worrying that it will be altered further.

@cossssmin cossssmin merged commit 1f458b1 into master Oct 14, 2022
@cossssmin cossssmin deleted the fix-replace-strings branch October 14, 2022 12:32
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

1 participant