Skip to content

Formatter: Respect Outlook Conditional HTML Comments#887

Merged
marcoroth merged 2 commits into
mainfrom
outlook-conditional-comments
Nov 16, 2025
Merged

Formatter: Respect Outlook Conditional HTML Comments#887
marcoroth merged 2 commits into
mainfrom
outlook-conditional-comments

Conversation

@marcoroth

Copy link
Copy Markdown
Owner

Input

<!--[if mso]>
<center>
<![endif]-->

Before

<!--
  [if mso]>
  <center>
  <![endif]
-->

After

<!--[if mso]>
<center>
<![endif]-->

Resolves #877

Comment thread javascript/packages/formatter/src/format-printer.ts Fixed
@marcoroth marcoroth merged commit 0d2eabe into main Nov 16, 2025
12 checks passed
@marcoroth marcoroth deleted the outlook-conditional-comments branch November 16, 2025 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Formatting breaks Outlook conditional comments

2 participants