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: fix downlevel-revealed closing comment being deleted in safe mode #278

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

santialbo
Copy link
Contributor

@santialbo santialbo commented Apr 15, 2024

The closing comment for downlevel-revealed closing comments were being deleted in safe mode. Added one more test and fixed a falsely passing test.

I'm using htmlnano for minifying the output from mjml and noticed that even in safemode, the closing comments for some conditional comments were being removed.

Copy link
Member

@maltsev maltsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing it!

@maltsev maltsev merged commit c0bcf94 into posthtml:master Apr 15, 2024
@santialbo
Copy link
Contributor Author

Would it be possible to make a new release including this change?

@maltsev
Copy link
Member

maltsev commented Apr 28, 2024

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