Skip to content

fix: fix downlevel-revealed closing comment being deleted in safe mode#278

Merged
maltsev merged 1 commit intomaltsev:masterfrom
santialbo:fix-conditional-comments
Apr 15, 2024
Merged

fix: fix downlevel-revealed closing comment being deleted in safe mode#278
maltsev merged 1 commit intomaltsev:masterfrom
santialbo:fix-conditional-comments

Conversation

@santialbo
Copy link
Copy Markdown
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
Copy Markdown
Owner

@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 maltsev:master Apr 15, 2024
@santialbo
Copy link
Copy Markdown
Contributor Author

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

@maltsev
Copy link
Copy Markdown
Owner

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.

2 participants