Describe the bug
We are using the Prettier plugin to format email content containing liquid.
Many of these emails contain MSO (Microsoft Office) tags to add HTML / CSS anywhere in an email template. This code will be ignored by other email clients. Here’s what it looks like:
Describe the bug We are using the Prettier plugin to format email content containing liquid.
Many of these emails contain MSO (Microsoft Office) tags to add HTML / CSS anywhere in an email template. This code will be ignored by other email clients. Here’s what it looks like:
However, when we use the Prettier plugin, it is also formatting the comments, making them invalid and thus breaks the functionality in MS Outlook.
Unformatted source
Expected output
Actual output
Debugging information
Additional context Start tags like must be on the same line